mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-25 16:38:42 -06:00
add note about slider
This commit is contained in:
parent
edb7305d7e
commit
7daf4c44fa
|
@ -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