Like most people I'm using icons for my MenuItem
s. I want all of these images to be displayed as 16x16 px icons. Most of the source images have that format, some may be 32x32, but all of them are slightly scaled (to 18x18 or so).
I've tried this, but it doesn't affect the icons (if this is horrible coding, please notify me. I'm new to xaml.):
<Style TargetType="MenuItem">
<Setter Property="Padding" Value="6,3" />
<Setter Property="Height" Value="22" />
<Setter Property="ItemContainerStyle">
<Setter.Value>
<Style TargetType="Image">
<Setter Property="Height" Value="16" />
<Setter Property="Width" Value="16" />
</Style>
</Setter.Value>
</Setter>
</Style>