From d8f38fd5b41e65f6e31808054bf188b911753b71 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.)