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

A Window can now be resizable in only one direction #4155

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

emilk
Copy link
Owner

@emilk emilk commented Mar 10, 2024

For instance: Window::new(…).resizable([true, false]) is a window that is only resizable in the horizontal direction.

This PR also removes a hack added in #3039 which is no longer needed since #4026

@emilk emilk added the egui label Mar 10, 2024
@emilk emilk changed the title A Window can now be resizable in zero, one, or both directions A Window can now be resizable in only one direction Mar 10, 2024
@emilk emilk merged commit 00a399b into master Mar 11, 2024
35 checks passed
@emilk emilk deleted the emilk/window-resize-fixes branch March 11, 2024 08:29
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
For instance: `Window::new(…).resizable([true, false])` is a window that
is only resizable in the horizontal direction.

This PR also removes a hack added in
emilk#3039 which is no longer needed since
emilk#4026
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