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 Response::intrinsic_size to enable better layout in 3rd party crates #5082

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

lucasmerlin
Copy link
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
21 checks passed
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