diff options
| author | 2023-08-30 04:31:21 +0200 | |
|---|---|---|
| committer | 2023-08-30 04:31:21 +0200 | |
| commit | ed3454301e663a7cb7d73cd56b57b188f4d14a2f (patch) | |
| tree | 8118d1305c2eba3a1b45d04634cd0e8d050fc0fa /examples/tour | |
| parent | c9bd48704dd9679c033dd0b8588e2744a3df44a0 (diff) | |
| download | iced-ed3454301e663a7cb7d73cd56b57b188f4d14a2f.tar.gz iced-ed3454301e663a7cb7d73cd56b57b188f4d14a2f.tar.bz2 iced-ed3454301e663a7cb7d73cd56b57b188f4d14a2f.zip | |
Implement explicit text caching in the widget state tree
Diffstat (limited to '')
| -rw-r--r-- | examples/tour/src/main.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs index 13bcd5ff..10de2ae1 100644 --- a/examples/tour/src/main.rs +++ b/examples/tour/src/main.rs @@ -5,7 +5,7 @@ use iced::widget::{      scrollable, slider, text, text_input, toggler, vertical_space,  };  use iced::widget::{Button, Column, Container, Slider}; -use iced::{Color, Element, Font, Length, Renderer, Sandbox, Settings}; +use iced::{Color, Element, Font, Length, Pixels, Renderer, Sandbox, Settings};  pub fn main() -> iced::Result {      env_logger::init(); @@ -571,7 +571,7 @@ impl<'a> Step {              text_input = text_input.icon(text_input::Icon {                  font: Font::default(),                  code_point: '🚀', -                size: Some(28.0), +                size: Some(Pixels(28.0)),                  spacing: 10.0,                  side: text_input::Side::Right,              }); | 
