Browse Source

Have the height of the style dropdown be automatic

Rob Loach 1 year ago
parent
commit
86da26fbc1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demo/common/overview.c

+ 1 - 1
demo/common/overview.c

@@ -130,7 +130,7 @@ overview(struct nk_context *ctx)
 
 #ifdef INCLUDE_STYLE
         /* style selector */
-        nk_layout_row_dynamic(ctx, 30, 2);
+        nk_layout_row_dynamic(ctx, 0, 2);
         {
             int new_theme;
             nk_label(ctx, "Style:", NK_TEXT_LEFT);