From 3f1aed9d71d10f5a7430b8720c6a1e93630b4477 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 3 Feb 2020 19:48:49 +0100 Subject: translations --- src/ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 6c9783b..983f51c 100644 --- a/src/ui.c +++ b/src/ui.c @@ -1022,7 +1022,7 @@ void ui_push_textf_width(font *f, char *text, s32 maxw) s32 text_y = y + (BLOCK_HEIGHT/2) - (f->px_h/2) + spacing_y; s32 total_w = maxw + WIDGET_PADDING + WIDGET_PADDING; - + maxw -= (WIDGET_PADDING*2); if (global_ui_context.layout.block_height < f->px_h) global_ui_context.layout.block_height = f->px_h+5; @@ -1097,7 +1097,7 @@ bool ui_push_text_width(char *text, s32 maxw, bool active) if (global_ui_context.layout.block_height < global_ui_context.font_small->px_h) global_ui_context.layout.block_height = global_ui_context.font_small->px_h+5; - + maxw -= (WIDGET_PADDING*2); if (active) { bool hovered = false; -- cgit v1.2.3-70-g09d2