-
Beta Was this translation helpful? Give feedback.
Answered by
Keboo
Feb 3, 2023
Replies: 1 comment 1 reply
-
At present the reason it is being clipped is because in the MenuItem template the icon container is declared with a fixed Width and Height of 16 like this: <ContentPresenter x:Name="Icon"
Width="16"
Height="16"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Content="{TemplateBinding Icon}"
ContentSource="Icon"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> So your icon with a size of 30 is being clipped. That fixed sizing is probably in correct and should really be changed so that when the menu height is increased (like in your example) the is appropriately sized. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
VahidEra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At present the reason it is being clipped is because in the MenuItem template the icon container is declared with a fixed Width and Height of 16 like this:
So your icon with a size of 30 is being clipped. That fixed sizing is probably in correct and should really be changed so that when the menu height is increased (like in your example) the i…