ux: macOS main menu position

This commit is contained in:
leo 2024-04-09 14:36:32 +08:00
parent 7be7ef161b
commit 7336a870f7

View file

@ -49,10 +49,11 @@
</Border> </Border>
<!-- Menu --> <!-- Menu -->
<Button Grid.Column="{OnPlatform 0, macOS=2}" <Button Grid.Column="{OnPlatform 0, macOS=2}" Classes="icon_button" VerticalAlignment="Bottom">
Classes="icon_button" <Button.Margin>
Margin="4,0,2,3" <OnPlatform Default="4,0,2,3" macOS="4,0,6,3"/>
VerticalAlignment="Bottom"> </Button.Margin>
<Button.Flyout> <Button.Flyout>
<MenuFlyout Placement="BottomEdgeAlignedLeft" VerticalOffset="-8"> <MenuFlyout Placement="BottomEdgeAlignedLeft" VerticalOffset="-8">
<MenuItem Header="{DynamicResource Text.Preference}" Click="OpenPreference"> <MenuItem Header="{DynamicResource Text.Preference}" Click="OpenPreference">