From d5502bcb8422724f00de4d9778cb375e45a8d4d2 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Fri, 22 May 2026 11:56:47 -0400 Subject: tyui: do control padding for slider text --- teensy/teensy_ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'teensy/teensy_ui.c') diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c index 98c7277..bdb4e91 100644 --- a/teensy/teensy_ui.c +++ b/teensy/teensy_ui.c @@ -492,7 +492,7 @@ void tyui_slider_ex( if (show_value) { text_cmd( ty_format(uictx.style.slider_fmt, (int)round(value)), - rect, + ty_recti_shrink(rect, control_padding()), value_align ); } -- cgit v1.3-2-g0d8e