aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/teensy_ui.c')
-rw-r--r--teensy/teensy_ui.c2
1 files changed, 1 insertions, 1 deletions
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();