Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Ui::new_child does not consider the sizing_pass field of UiBuilder #5262

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

zhatuokun
Copy link
Contributor

During the sizing pass we want widgets to use up as little space as possible, but it does not consider the sizing_pass field of UiBuilder.

Copy link

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

@lucasmerlin lucasmerlin added bug Something is broken egui labels Oct 14, 2024
@lucasmerlin lucasmerlin changed the title Fix: Layout does not consider the sizing_pass field of UiBuilder Fix: Ui::new_child does not consider the sizing_pass field of UiBuilder Oct 14, 2024
@emilk
Copy link
Owner

emilk commented Oct 23, 2024

Good catch!

@emilk emilk merged commit 3a0859b into emilk:master Oct 23, 2024
24 of 25 checks passed
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
…ilder` (emilk#5262)

During the sizing pass we want widgets to use up as little space as
possible, but it does not consider the sizing_pass field of `UiBuilder`.
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.

3 participants