changeset 2369:3e064001594a

Better spacing in firmware settings
author Michael Pavone <pavone@retrodev.com>
date Fri, 10 Nov 2023 21:18:02 -0800
parents d6a207861cc8
children 6bcc2ab01ac6
files nuklear_ui/blastem_nuklear.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c	Fri Nov 10 13:45:23 2023 -0800
+++ b/nuklear_ui/blastem_nuklear.c	Fri Nov 10 21:18:02 2023 -0800
@@ -2339,7 +2339,7 @@
 {
 	if (nk_begin(context, "Firmware", nk_rect(0, 0, render_width(), render_height()), 0)) {
 		uint32_t desired_width = context->style.font->height * 10;
-		nk_layout_row_static(context, context->style.font->height, desired_width, 2);
+		nk_layout_row_static(context, context->style.font->height * 1.25f, desired_width, 2);
 		static const char* exts[] = {"md", "bin", "smd"};
 		settings_path(context, "TMSS ROM", "system\0tmss_path\0", "tmss.md", exts, 3);
 		settings_path(context, "US CD BIOS", "system\0scd_bios_us\0", "cdbios.md", exts, 3);