Sfoglia il codice sorgente

show full label in overview popup by expanding horizontal space

William Emerison Six 7 anni fa
parent
commit
1b64d1241d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      demo/overview.c

+ 1 - 1
demo/overview.c

@@ -687,7 +687,7 @@ overview(struct nk_context *ctx)
             struct nk_rect bounds;
 
             /* menu contextual */
-            nk_layout_row_static(ctx, 30, 150, 1);
+            nk_layout_row_static(ctx, 30, 160, 1);
             bounds = nk_widget_bounds(ctx);
             nk_label(ctx, "Right click me for menu", NK_TEXT_LEFT);