Skip to content

Commit

Permalink
Update Styles.Menu.xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjinhuagood committed Aug 6, 2023
1 parent 6f58c14 commit 4a83638
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/WPFDevelopers.Shared/Styles/Styles.Menu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Menu}">
<Border Background="{TemplateBinding Background}" SnapsToDevicePixels="True">
<Border
Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}"
Background="{TemplateBinding Background}"
SnapsToDevicePixels="True">
<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
</Border>
</ControlTemplate>
Expand Down

0 comments on commit 4a83638

Please sign in to comment.