refactor: replace text(format!( with text macro
This commit is contained in:
parent
6146382676
commit
bf9bbf4a3e
18 changed files with 41 additions and 41 deletions
|
|
@ -285,7 +285,7 @@ fn view_content<'a>(
|
|||
.max_width(160);
|
||||
|
||||
let content = column![
|
||||
text(format!("{}x{}", size.width, size.height)).size(24),
|
||||
text!("{}x{}", size.width, size.height).size(24),
|
||||
controls,
|
||||
]
|
||||
.spacing(10)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue