Changed label and text to be generic over static strings and owned strings
This commit is contained in:
parent
ebf1da1de8
commit
b500ed3171
24 changed files with 60 additions and 72 deletions
|
@ -308,7 +308,7 @@ impl Item for ThemeTestbench {
|
|||
style: &theme::Tab,
|
||||
_: &AppContext,
|
||||
) -> gpui::ElementBox {
|
||||
Label::new("Theme Testbench".into(), style.label.clone())
|
||||
Label::new("Theme Testbench", style.label.clone())
|
||||
.aligned()
|
||||
.contained()
|
||||
.boxed()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue