mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 15:18:43 -06:00
add note about slider
This commit is contained in:
parent
f6ea37e402
commit
d8f38fd5b4
|
@ -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.)
|
||||||
|
|
Loading…
Reference in a new issue