From ba6eec44b5a49ed5ee6a119520d4e3ebf1213842 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Fri, 22 May 2026 11:50:38 -0400 Subject: tyui: add padding to title text --- teensy/teensy_ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c index c58113c..f5ba00f 100644 --- a/teensy/teensy_ui.c +++ b/teensy/teensy_ui.c @@ -379,7 +379,7 @@ bool tyui_begin_window_ex( clip_cmd(TY_CLIP_NONE); rect_cmd(title_rect, uictx.style.win_title); - text_cmd(win->title, title_rect, TYUI_ALIGN_LEFT); + text_cmd(win->title, ty_recti_shrink(title_rect, 1), TYUI_ALIGN_LEFT); ty_Recti body_rect = win->rect; body_rect.y += title_bar_height(); -- cgit v1.3-2-g0d8e