Skip to content

Add Response::intrinsic_size to enable better layout in 3rd party crates - #5082

Merged
emilk merged 2 commits into
emilk:masterfrom
lucasmerlin:add-intrinsic-size
Sep 19, 2024
Merged

emilk merged 2 commits into
emilk:masterfrom
lucasmerlin:add-intrinsic-size

Conversation

@lucasmerlin

Copy link
Copy Markdown
Collaborator

This adds a intrinsic_size field to the Response struct which allows me to grow a egui button frame while still being able to know it's intrinsic size in egui_flex

@emilk emilk added this to the Next Major Release milestone Sep 18, 2024
@emilk emilk added egui feature New feature or request labels Sep 18, 2024
@emilk emilk changed the title Add intrinsic size to allow for improved layout Add Response::intrinsic_size to enable better layout in 3rd party crates Sep 19, 2024
@emilk
emilk merged commit bfafddf into emilk:master Sep 19, 2024
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
…rates (emilk#5082)

This adds a `intrinsic_size` field to the Response struct which allows
me to grow a egui button frame while still being able to know it's
intrinsic size in
[egui_flex](https://github.com/lucasmerlin/hello_egui/tree/main/crates/egui_flex)

* Related to
emilk#4378 (comment)
* [X] I have followed the instructions in the PR template

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

egui feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants