iris: add positioned text overflow

This commit is contained in:
iris committed 2026-09-12 19:58:02 -04:00
1 parent cb5f11d21a
commit 1f0a7b5f94
22 files changed
+771 -43

No files matched your search

+2 -2
View File
@@ -69,7 +69,7 @@ struct ImeState {
fn placeholder<Rsc: HasEvents>(rsc: &mut Rsc, message: &str) -> StrongWidget {
wtext(message.to_string())
.color(PaintId::WHITE)
.wrap(true)
.overflow(TextOverflow::Wrap)
.pad(16)
.add_strong(rsc)
.any()
@@ -122,7 +122,7 @@ impl BenchClient {
let report_display = wtext("")
.editable(EditMode::MultiLine)
.text_align(Align::LEFT)
.wrap(true)
.overflow(TextOverflow::Wrap)
.size(14)
.color(PaintId::WHITE)
.attr::<Selectable>(())