ux: style of MenuItem

This commit is contained in:
leo 2024-12-05 20:43:31 +08:00
parent 75e9f1e9a4
commit e18d6d65e8
No known key found for this signature in database

View file

@ -856,12 +856,7 @@
</Border.Effect> </Border.Effect>
</Border> </Border>
<Border BorderThickness="0" <Border BorderThickness="0" Margin="8,4" MaxHeight="400">
Margin="8,4"
MaxWidth="{DynamicResource FlyoutThemeMaxWidth}"
MinHeight="{DynamicResource MenuFlyoutThemeMinHeight}"
HorizontalAlignment="Stretch"
CornerRadius="{DynamicResource OverlayCornerRadius}">
<ScrollViewer Theme="{StaticResource FluentMenuScrollViewer}"> <ScrollViewer Theme="{StaticResource FluentMenuScrollViewer}">
<ItemsPresenter Name="PART_ItemsPresenter" <ItemsPresenter Name="PART_ItemsPresenter"
Margin="{DynamicResource MenuFlyoutScrollerMargin}" Margin="{DynamicResource MenuFlyoutScrollerMargin}"