mirror of
https://github.com/glfw/glfw.git
synced 2025-06-14 19:52:14 +00:00
tests: just improve view
This commit is contained in:
parent
6f85a43e78
commit
66d668501d
@ -290,7 +290,8 @@ static void set_font_selecter(GLFWwindow* window, struct nk_context* nk, int hei
|
|||||||
{
|
{
|
||||||
int newSelectedIndex;
|
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));
|
newSelectedIndex = nk_combo(nk, (const char**) fontFamilyNames, fontNum, currentFontIndex, font_height, nk_vec2(300, 400));
|
||||||
|
|
||||||
if (newSelectedIndex == currentFontIndex)
|
if (newSelectedIndex == currentFontIndex)
|
||||||
|
Loading…
Reference in New Issue
Block a user