From c8c0973f879118d66542649a2ee8464c84bc6dc7 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 16 Feb 2020 17:21:44 +0100 Subject: work --- src/settings.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/settings.c') diff --git a/src/settings.c b/src/settings.c index 3dd16b3..31e3052 100644 --- a/src/settings.c +++ b/src/settings.c @@ -102,6 +102,14 @@ void settings_page_update_render() } } ui_block_end(); + + ui_block_begin(LAYOUT_HORIZONTAL); + { + char license_text[30]; + sprintf(license_text, "%s: %s", localize("license"), license_key); + ui_push_text(license_text); + } + ui_block_end(); } global_ui_context.layout.offset_y = global_settings_page.window.height - 33; @@ -143,7 +151,7 @@ void settings_page_show() load_current_settings_into_ui(); global_settings_page.window = platform_open_window(localize("mo_edit_settings"), - 350, 200, 350, 200, 350, 200); + 350, 220, 350, 220, 350, 220); settings_window = &global_settings_page.window; -- cgit v1.2.3-70-g09d2