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
Use the Default Button Styles (Windows 11 Styles) #3363
Conversation
{ | ||
Content = new StackPanel | ||
{ | ||
HorizontalAlignment = HorizontalAlignment.Center, |
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.
Could we simplified all this properties using Styles?
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.
I suppose we could create a style for the maui buttons, but is it necessary?
public partial class ButtonHandlerTests | ||
{ | ||
[Fact(DisplayName = "CharacterSpacing Initializes Correctly")] | ||
public async Task CharacterSpacingInitializesCorrectly() |
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.
❤️
Description of Change
By using the default styles that come with WinUI, we can have the nice new Windows 11 theme.
Additions made
Other Notes
Right now the padding for the buttons is not super consistent, but that will come in PR #1704 and PR #2597
Pictures