Kinnara / ModernWpf

Modern styles and controls for your WPF applications
MIT License
4.45k stars 446 forks source link

ui:CommandBar.SecondaryCommands with gesture text: too high #571

Open deakjahn opened 1 year ago

deakjahn commented 1 year ago
  <ui:CommandBar.SecondaryCommands>
    <ui:AppBarButton Label="Export" Command="{StaticResource DoExport}" InputGestureText="Ctrl+E" />
    <ui:AppBarButton Label="Import" Command="{StaticResource DoImport}" InputGestureText="Ctrl+I" />
  </ui:CommandBar.SecondaryCommands>

If the buttons have InputGestureText attributes specified, the ellipsis button will be erroneously high:

Screenshot 2023-09-30 175838

As soon as the gestures are removed, the extra red margin disappears.