Improve tour example
This commit is contained in:
parent
2c35103035
commit
c583a2174d
24 changed files with 644 additions and 239 deletions
|
|
@ -104,6 +104,7 @@ impl button::Renderer for Renderer<'_> {
|
|||
|
||||
let mut text = Text::new(TextFragment {
|
||||
text: String::from(label),
|
||||
font: Some(self.font),
|
||||
scale: Some(Scale { x: 20.0, y: 20.0 }),
|
||||
..Default::default()
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue