Skip to content

Make it easy to panels inside of Ui:s#629

Merged
emilk merged 5 commits intomasterfrom
better-ui-panels
Aug 19, 2021
Merged

Make it easy to panels inside of Ui:s#629
emilk merged 5 commits intomasterfrom
better-ui-panels

Conversation

@emilk
Copy link
Owner

@emilk emilk commented Aug 18, 2021

This builds on #624 to improve the ergonomics of sticking panels inside of a Ui.

panels

PTAL @gents83

@emilk emilk force-pushed the better-ui-panels branch from 68ead87 to e1741fe Compare August 18, 2021 20:52
Copy link
Contributor

@gents83 gents83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it's really nice!!!

Copy link
Contributor

@gents83 gents83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New functionalities allowed "hiding" to user all panels positioning - Super appreciated!

@emilk emilk merged commit 3e2746a into master Aug 19, 2021
@emilk emilk deleted the better-ui-panels branch August 19, 2021 22:10
emilk added a commit that referenced this pull request Aug 25, 2021
emilk added a commit that referenced this pull request Aug 25, 2021
emilk added a commit that referenced this pull request Aug 25, 2021
@emilk emilk mentioned this pull request Aug 25, 2021
emilk added a commit that referenced this pull request Aug 26, 2021
* Fix incorrect max_width/height of panels

* Fix set_width/set_min_width/set_height/set_min_height

Closes #647

Broke in #629

* Fix expand_to_include_x/expand_to_include_y

* Make minimum grid column width propagate properly

* Expand cursor when max_rect expands

* Add ui.expand_to_include_y

* Only expand cursor in advance

* demo: clean up font_book code

* Fix: Make sure `TextEdit` contents expand to fill width if applicable

* ProgressBar: minimum width and fix for having it in an infinite layout

* clippy fix
mankinskin pushed a commit to mankinskin/egui that referenced this pull request Sep 29, 2021
* Allow using the layout cursor to restrict available area

* Avoid id clashes when putting panels inside a Ui

* Panels: Propagate height/width range to inner Ui

* Allow easy placement of panels inside of Ui:s

* demo: simplify Windows with Panels demo
mankinskin pushed a commit to mankinskin/egui that referenced this pull request Sep 29, 2021
mankinskin pushed a commit to mankinskin/egui that referenced this pull request Sep 29, 2021
* Fix incorrect max_width/height of panels

* Fix set_width/set_min_width/set_height/set_min_height

Closes emilk#647

Broke in emilk#629

* Fix expand_to_include_x/expand_to_include_y

* Make minimum grid column width propagate properly

* Expand cursor when max_rect expands

* Add ui.expand_to_include_y

* Only expand cursor in advance

* demo: clean up font_book code

* Fix: Make sure `TextEdit` contents expand to fill width if applicable

* ProgressBar: minimum width and fix for having it in an infinite layout

* clippy fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants