79218936

Date: 2024-11-23 22:06:02
Score: 1
Natty:
Report link

Apparently this is caused by the default MenuItem style, which wasn't adapted yet, as I only redefined the ControlTemplates for the different types of MenuItems.

I got rid of these messages by adding this to my application-wide styles:

    <Style TargetType="{x:Type MenuItem}">
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
    </Style>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: miss programmer