Skip to content

masonry: add hover and press highlight to Button#1829

Open
emnrdl wants to merge 1 commit into
linebender:mainfrom
emnrdl:button-hover-highlight
Open

masonry: add hover and press highlight to Button#1829
emnrdl wants to merge 1 commit into
linebender:mainfrom
emnrdl:button-hover-highlight

Conversation

@emnrdl

@emnrdl emnrdl commented Jun 21, 2026

Copy link
Copy Markdown

Button::pre_paint now overlays a translucent highlight ring when the button is hovered, pressed, or focused, so every button gives pointer feedback regardless of its background and border colors. This mirrors the hover/focus indicator already drawn by Checkbox.

Button::pre_paint now overlays a translucent highlight ring when the button is hovered, pressed, or focused, so every button gives pointer feedback regardless of its background and border colors. This mirrors the hover/focus indicator already drawn by Checkbox.
Signed-off-by: emnrdl <emnrdl@gmail.com>
@emnrdl
emnrdl force-pushed the button-hover-highlight branch from 3384e67 to 8670d00 Compare June 21, 2026 19:23
@PoignardAzur

Copy link
Copy Markdown
Contributor

Sorry, I've been busy, hoping to review this soon!

@PoignardAzur PoignardAzur left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be missing something, but I think this is the wrong direction. This year we've started to move away from custom status-checking code in widgets, towards using conditional properties instead. This seems like a move in the opposite direction.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants