Make CollapsingHeader truncateable #4093
Closed
higumachan
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
You can make a PR and see if it gets accepted, but know that the similar PR #4045 was rejected. It is relatively easy to make a collapsing header with any UI you want, as shown in this example from the Misc Demos section in the demo app: egui/crates/egui_demo_lib/src/demo/misc_demo_window.rs Lines 439 to 450 in 5cf99c6 So arbitrarily adding some of these options to the default header seems redundant. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently using a patch that allows the CollapsingHeader to truncate the header. I am considering creating a PR if this patch would be useful to others. What do you think? The API I created for truncation looks like this.
Beta Was this translation helpful? Give feedback.
All reactions