From 66d668501d0740a5e4e64a28b4f7f5aacf32d6c8 Mon Sep 17 00:00:00 2001 From: Daijiro Fukuda Date: Fri, 20 May 2022 14:46:34 +0900 Subject: [PATCH] tests: just improve view --- tests/input_text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/input_text.c b/tests/input_text.c index b63ff7fb..b0760f75 100644 --- a/tests/input_text.c +++ b/tests/input_text.c @@ -290,7 +290,8 @@ static void set_font_selecter(GLFWwindow* window, struct nk_context* nk, int hei { int newSelectedIndex; - nk_layout_row_dynamic(nk, height, 1); + nk_layout_row_dynamic(nk, height, 2); + nk_label(nk, "Font", NK_TEXT_RIGHT); newSelectedIndex = nk_combo(nk, (const char**) fontFamilyNames, fontNum, currentFontIndex, font_height, nk_vec2(300, 400)); if (newSelectedIndex == currentFontIndex)