-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fixed MenuItem Header alignment wrt to Icons #10735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed MenuItem Header alignment wrt to Icons #10735
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (4)
- src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/MenuItem.xaml: Language not supported
- src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.Dark.xaml: Language not supported
- src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.HC.xaml: Language not supported
- src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.Light.xaml: Language not supported
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10735 +/- ##
===================================================
+ Coverage 11.26276% 12.87183% +1.60906%
===================================================
Files 3315 3316 +1
Lines 665228 665321 +93
Branches 74668 74667 -1
===================================================
+ Hits 74923 85639 +10716
+ Misses 589002 577371 -11631
- Partials 1303 2311 +1008
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/MenuItem.xaml
Outdated
Show resolved
Hide resolved
LGTM |
Fixes #9980
Description
In the current MenuItem Fluent styles, the Icon column didn't share width among the different MenuItems. Due to this, the Header content presenter gets misaligned.
Customer Impact
Improves usability and speeds up visual scanning of the UI
Regression
Technically no, but as compared to Aero2 styles this is a regression in Fluent styles.
Testing
Local app testing.
Risk
Minimal
Microsoft Reviewers: Open in CodeFlow