fix fn name in ex.6

This commit is contained in:
griffi-gh 2024-03-24 01:17:26 +01:00
parent e665a94335
commit 2e49ea443a

View file

@ -38,7 +38,7 @@ ui_main!(
.with_align((Alignment::Center, Alignment::Begin)) .with_align((Alignment::Center, Alignment::Begin))
.with_direction(Direction::Horizontal) .with_direction(Direction::Horizontal)
.with_gap(5.) .with_gap(5.)
.with_background_frame((0.1, 0.1, 0.1)) .with_background((0.1, 0.1, 0.1))
.with_wrap(true) .with_wrap(true)
.with_children(|ui| { .with_children(|ui| {
Text::new(format!("Number of images: {counter}")) Text::new(format!("Number of images: {counter}"))