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

Add Window::pivot and position combo boxes better #2303

Merged
merged 5 commits into from Nov 13, 2022
Merged

Conversation

emilk
Copy link
Owner

@emilk emilk commented Nov 13, 2022

Closes #693
Closes #792

If a combo box popup doesn't fit below the button, it will now pop up above it.

Area::pivot and Window::pivot lets you set which corner or an Area or Window is moved by the positioning functions.

@emilk emilk merged commit ef931c4 into master Nov 13, 2022
@emilk emilk deleted the combo-upwards branch November 13, 2022 21:17
emilk added a commit that referenced this pull request Dec 2, 2022
* Paint ComboBox icon differently if opening upwards

* Add Area::pivot and Window::pivot

* Add Window::contrain

* ComboBox: pop up above if it doesn't fit below

* Add line to changelog
JohannesProgrammiert pushed a commit to JohannesProgrammiert/egui that referenced this pull request Jan 21, 2023
* Paint ComboBox icon differently if opening upwards

* Add Area::pivot and Window::pivot

* Add Window::contrain

* ComboBox: pop up above if it doesn't fit below

* Add line to changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant