-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Keep the Button HorizontalAlignment be Stretch in Fluent style #10082
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
base: main
Are you sure you want to change the base?
Keep the Button HorizontalAlignment be Stretch in Fluent style #10082
Conversation
@lindexi Run the theme generator ( |
@lindexi both HorizontalAlignment and VerticalAlignment should be Stretch, or rather we can just remove them, as the default value is Stretch. Can you make the above changes ? Once that is done, we need to run |
53707e8
to
0eda36c
Compare
@dipeshmsft OK, I update it. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10082 +/- ##
===================================================
+ Coverage 13.43439% 13.47351% +0.03911%
===================================================
Files 3317 3317
Lines 664749 664749
Branches 74643 74643
===================================================
+ Hits 89305 89565 +260
+ Misses 572854 572582 -272
- Partials 2590 2602 +12
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Fixes #10077
Description
In the Fluent style, ensure that the
HorizontalAlignment
property of buttons is set toCenter
. This helps maintain consistent behavior with previous styles.Customer Impact
Maintaining consistent behavior allows developers to more easily apply the Fluent theme without worrying about layout changes due to style switches.
Regression
See #8870
Testing
Just CI and Snoop
Risk
Low. This potentially breaking scenarios where buttons relying on the Fluent style are left-aligned. Therefore, I believe the sooner this change is merged, the lower the risk will be, as fewer developers will depend on buttons being left-aligned.
Microsoft Reviewers: Open in CodeFlow