feat: add selectable() to Text

This commit is contained in:
Hojjat 2026-05-15 13:38:15 -06:00 committed by Ashley Wulber
parent 347d91f7ea
commit 251254ad51
9 changed files with 442 additions and 19 deletions

View file

@ -775,6 +775,7 @@ impl<P: Program + 'static> Tester<P> {
}
_ => None,
},
..text::Style::default()
})
.into()
},
@ -945,6 +946,7 @@ where
text(label).size(14).style(|theme: &core::Theme| {
text::Style {
color: Some(theme.extended_palette().background.weak.text),
..text::Style::default()
}
}),
space::horizontal(),