You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can a badge be disabled? It's not interactive anyway. The number shown on the badge is still relevant.
Anyway, if a different appearance is desired, I wouldn't change the opacity but the color. The button shining through the badge in your proposal looks strange. I would prefer a solid badge background, something gray-ish maybe.
I'm with @thoemmi (I'm glad I wasn't the only one who took issue with the button showing through). I think a grey would be awesome, but it would have to be a different grey than the control that the badge adorns
@thoemmi since a badge has no command, yes it is not interactive. But it looks strange if the parent control is disabled and the badge has the bright color (accented if default).
I like your and @amkuchta's idea.
What steps will reproduce this issue?
The Badge has no diffent appearance if the object itself or any parent visual element are disabled:
Expected outcome
Badge should look different if disabled
Implementation
https://github.com/xxMUROxx/MahApps.Metro/tree/feature/Badge-Disabled-Style
If desired I will create a PR with the above linked branch.
The text was updated successfully, but these errors were encountered: