-
Notifications
You must be signed in to change notification settings - Fork 666
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
[ToggleSplitButton] Inconsistent Disabled colors and poor contrast #6500
Comments
Related to #6469 |
This one is easier to fix and should just require inverting the colors in the resource brushes. |
@chigy FYI, can you suggest the proper behavior? |
So, what's keeping this back? :) @robloo |
|
@chigy is this something being Looked at |
WinUI does not have Accent button styles beyond the default button. So this is a custom style we've created. |
@niels9001, thank you for reporting this. Trying the repro XAML on WinAppSDK 1.5 / Windows 11, readability appears better than the previous (blue) screenshot: |
Describe the bug
When is ToggleSplitButton is IsChecked and disabled, the Content gets very hard to read. (See screenshots below). It's also incosistent when comapring it to the a disabled Button (with AccentButtonStyle) or disabled ToggleButton.
Steps to reproduce the bug
Add
<Grid> <muxc:ToggleSplitButton IsEnabled="False" IsChecked="True" Margin="12" Content="ToggleSplitButton with checked state and disabled" /> <Button Style="{ThemeResource AccentButtonStyle}" Content="Button with AccentButtonStyle and disabled" IsEnabled="False" Margin="12" /> <ToggleButton IsChecked="True" Content="ToggleButton and disabled" IsEnabled="False" Margin="12" /> </Grid>
Expected behavior
Screenshots
Light theme
Dark theme
NuGet package version
No response
Windows app type
Device form factor
Desktop
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: