Browse Source
Merge pull request #10801 from AvaloniaUI/fix-menu-placement
Fix menu placement
pull/10762/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
src/Avalonia.Themes.Fluent/Controls/MenuItem.xaml
-
src/Avalonia.Themes.Simple/Controls/MenuItem.xaml
|
|
|
@ -118,7 +118,7 @@ |
|
|
|
</Border> |
|
|
|
<Popup Name="PART_Popup" |
|
|
|
WindowManagerAddShadowHint="False" |
|
|
|
Placement="Right" |
|
|
|
Placement="RightEdgeAlignedTop" |
|
|
|
HorizontalOffset="{DynamicResource MenuFlyoutSubItemPopupHorizontalOffset}" |
|
|
|
IsLightDismissEnabled="False" |
|
|
|
IsOpen="{TemplateBinding IsSubMenuOpen, Mode=TwoWay}"> |
|
|
|
|
|
|
|
@ -65,7 +65,7 @@ |
|
|
|
IsLightDismissEnabled="False" |
|
|
|
IsOpen="{TemplateBinding IsSubMenuOpen, |
|
|
|
Mode=TwoWay}" |
|
|
|
Placement="Right"> |
|
|
|
Placement="RightEdgeAlignedTop"> |
|
|
|
<Border Background="{DynamicResource ThemeBackgroundBrush}" |
|
|
|
BorderBrush="{DynamicResource ThemeBorderMidBrush}" |
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"> |
|
|
|
|