Skip to content

Don't expand widgets on hover#7808

Merged
emilk merged 4 commits intomainfrom
emilk/no-expand
Dec 22, 2025
Merged

Don't expand widgets on hover#7808
emilk merged 4 commits intomainfrom
emilk/no-expand

Conversation

@emilk
Copy link
Copy Markdown
Owner

@emilk emilk commented Dec 22, 2025

This changes the default style of egui.

The problem with "expanding" widgets is that they now want to paint outside their own bounds, which then requires all parent UIs to have proper margins.

It also means hovered things are no longer properly aligned with every other widget.

@emilk emilk added egui style visuals and theming labels Dec 22, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 22, 2025

Preview available at https://egui-pr-preview.github.io/pr/7808-emilkno-expand
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

View snapshot changes at kitdiff

@emilk emilk requested a review from lucasmerlin as a code owner December 22, 2025 21:22
@emilk emilk merged commit 9e95b9c into main Dec 22, 2025
46 checks passed
@emilk emilk deleted the emilk/no-expand branch December 22, 2025 21:30
Copy link
Copy Markdown

@Killerff-blip Killerff-blip left a comment

Choose a reason for hiding this comment

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

Approved But the Hover Extension is Not settled exactly as it has to be Settled 🙂👍

Masterchef365 pushed a commit to Masterchef365/egui that referenced this pull request Apr 3, 2026
* Part of emilk#5605

This changes the default style of egui.

The problem with "expanding" widgets is that they now want to paint
outside their own bounds, which then requires all parent UIs to have
proper margins.

It also means hovered things are no longer properly aligned with every
other widget.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

egui style visuals and theming

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants