add note about slider

This commit is contained in:
griffi-gh 2024-03-25 02:10:15 +01:00
parent edb7305d7e
commit 7daf4c44fa

View file

@ -56,6 +56,10 @@ ui_main!(
(0., 0., 1.), (0., 0., 1.),
))) )))
.add_child(ui); .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) Slider::new(0.33)
.with_size(size!(50%, 30)) .with_size(size!(50%, 30))
.with_track_height(1.) .with_track_height(1.)