Skip to content

Readable disabled footer buttons in the Windows viewer's dark mode - #1080

Merged
SimonCropp merged 1 commit into
mainfrom
disabled-footer-buttons-dark-mode
Nov 23, 2026
Merged

SimonCropp merged 1 commit into
mainfrom
disabled-footer-buttons-dark-mode

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

In dark mode, WinForms draws a disabled Standard button's text almost black (about 8,8,8) whatever colours the button has. On the viewer's background (24,24,24), the labels of disabled footer buttons such as "Prev change" and "Next change" could not be seen.

FooterButton leaves the border and face to WinForms, which were already right. When the button is disabled, it fills the inside with the background colour and draws the label again in Palette.Dim. Enabled buttons are unchanged.

The 16 WindowsPixelTests baselines are re-approved, since every one of them recorded the unreadable labels. The disabled labels are the only change in them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant