shithub: microui

Download patch

ref: aafdacb0686c4a28674b20f6572c31cd0acfb3b8
parent: ade63e9f0ab66cfd9f837067f9cd9d1a710e9bae
author: rxi <[email protected]>
date: Sat Oct 20 05:17:43 EDT 2018

Updated demo for body/scrollbar changes

--- a/demo/main.c
+++ b/demo/main.c
@@ -206,7 +206,7 @@
   };
 
   if (mu_begin_window(ctx, &window, "Style Editor")) {
-    int sw = mu_get_container(ctx)->body.w * 0.16;
+    int sw = mu_get_container(ctx)->body.w * 0.14;
     mu_layout_row(ctx, 6, (int[]) { 80, sw, sw, sw, sw, -1 }, 0);
     for (int i = 0; colors[i].label; i++) {
       mu_label(ctx, colors[i].label);