add note about slider

This commit is contained in:
griffi-gh 2024-03-25 02:10:15 +01:00
parent f6ea37e402
commit d8f38fd5b4

View file

@ -56,6 +56,10 @@ ui_main!(
(0., 0., 1.),
)))
.add_child(ui);
Text::new("Slider customized with `NinePatchFrame`s:")
.with_color(color::BLACK)
.with_text_size(32)
.add_child(ui);
Slider::new(0.33)
.with_size(size!(50%, 30))
.with_track_height(1.)