Skip to content

Fix: ensure CentralPanel::show_inside allocates space in parent#7778

Merged
emilk merged 1 commit intomainfrom
emilk/fix-central-panel
Dec 15, 2025
Merged

Fix: ensure CentralPanel::show_inside allocates space in parent#7778
emilk merged 1 commit intomainfrom
emilk/fix-central-panel

Conversation

@emilk
Copy link
Copy Markdown
Owner

@emilk emilk commented Dec 15, 2025

If the CentralPanel is the only thing in e.g. a Window, it needs to let the parent Ui know how much space was used. Now it does.

@emilk emilk added bug Something is broken egui labels Dec 15, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 15, 2025

Preview available at https://egui-pr-preview.github.io/pr/7778-emilkfix-central-panel
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 merged commit 4a81ca8 into main Dec 15, 2025
50 checks passed
@emilk emilk deleted the emilk/fix-central-panel branch December 15, 2025 17:20
Masterchef365 pushed a commit to Masterchef365/egui that referenced this pull request Apr 3, 2026
…ilk#7778)

If the `CentralPanel` is the only thing in e.g. a `Window`, it needs to
let the parent `Ui` know how much space was used. Now it does.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is broken egui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant