From 7daf4c44fac6db86d37bb6fbba870a7cfd749dbf Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 25 Mar 2024 02:10:15 +0100 Subject: [PATCH] add note about slider --- hui-examples/examples/ui_test_7_9patch.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hui-examples/examples/ui_test_7_9patch.rs b/hui-examples/examples/ui_test_7_9patch.rs index b236aa8..af1bee5 100644 --- a/hui-examples/examples/ui_test_7_9patch.rs +++ b/hui-examples/examples/ui_test_7_9patch.rs @@ -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.)