Skip to content

Style feature to have label truncate by default #4473

@abey79

Description

@abey79

In some context, it would be useful to have ui.label(txt) defaults to truncate, such as we don't have to change them all for ui.add(egui::Label::new(txt).truncate(true)). Likewise, it would be nice to have a ui.label_truncated() helper (though each might be suited for different situations).

As per:

Metadata

Metadata

Assignees

Labels

eguirerunDesired for Rerun.io

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions