-
|
Hello! I've just started using the library and enjoying it a lot so far. One of the questions I've got: how to implement something similar to text overflow ellipsis in web? What I want to achieve is for text to fill up all the available width and if it is overflowing just truncate the rest and show My current code looks like this let title: String = "Some title".into();
let text: String = "Some very long text that surely going to overflow the available width".into();
let title_label = egui::Label::new(&title).wrap(false);
let text_label = egui::Label::new(&text).wrap(false);
ui.add(title_label);
ui.add(text_label); |
Beta Was this translation helpful? Give feedback.
Answered by
emilk
Mar 20, 2022
Replies: 1 comment 1 reply
-
|
This is being worked on in #1291 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gyzerok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is being worked on in #1291