feat: add selectable() to Text
This commit is contained in:
parent
347d91f7ea
commit
251254ad51
9 changed files with 442 additions and 19 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue