Skip to content

Conversation

@emilk
Copy link
Owner

@emilk emilk commented May 31, 2024

By default, Windows can now cover already added panels. For instance: in the egui demo app (egui.rs), windows can now cover the side-panels and top bar.

To get the old behaviour, use window.constrain_to(ctx.available_rect()).

@emilk emilk added the egui label May 31, 2024
@emilk emilk merged commit c0479ca into master May 31, 2024
@emilk emilk deleted the emilk/default-constrain-area branch May 31, 2024 08:01
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
…emilk#4590)

By default, `Windows` can now cover already added panels. For instance:
in the egui demo app (egui.rs), windows can now cover the side-panels
and top bar.

To get the old behaviour, use
`window.constrain_to(ctx.available_rect())`.
podusowski added a commit to podusowski/egui that referenced this pull request Feb 9, 2025
lucasmerlin pushed a commit that referenced this pull request Feb 18, 2025
...as after #4590, `Window`/`Area` is not constrained within it.
darkwater pushed a commit to darkwater/egui that referenced this pull request Aug 24, 2025
…ilk#5701)

...as after emilk#4590, `Window`/`Area` is not constrained within it.
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.

2 participants