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

Deprecate ui.set_sizing_pass #5074

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Deprecate ui.set_sizing_pass #5074

merged 2 commits into from
Sep 5, 2024

Conversation

emilk
Copy link
Owner

@emilk emilk commented Sep 5, 2024

Use UiBuilder::new().sizing_pass().invisible() instead.

Also changes UiBuilder::sizing_pass to no longer turn the ui invisible. You'll have to opt-in to that instead when it makes sense, e.g. for the first frame of a tooltip, but not when auto-sizing a column in a Table.

Use `UiBuilder::new().sizing_pass().invisible()` instead.

Also changes `UiBuilder::sizing_pass` to no longer turn the ui
invisible. You'll have to opt-in to that instead when it makes sense,
e.g. for the first frame of a tooltip, but not when auto-sizing a column
in a `Table`.
@emilk emilk added the egui label Sep 5, 2024
@emilk emilk merged commit 7cb61f8 into master Sep 5, 2024
37 checks passed
@emilk emilk deleted the emilk/visible-sizing-pass branch September 5, 2024 10:44
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
Use `UiBuilder::new().sizing_pass().invisible()` instead.

Also changes `UiBuilder::sizing_pass` to no longer turn the ui
invisible. You'll have to opt-in to that instead when it makes sense,
e.g. for the first frame of a tooltip, but not when auto-sizing a column
in a `Table`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant