make/vs/testapp/main.c

branch
newapi
changeset 195
0f2e69873875
parent 194
e2281ace0769
child 196
320d85f3cd14
--- a/make/vs/testapp/main.c	Mon Oct 02 09:22:52 2023 +0200
+++ b/make/vs/testapp/main.c	Mon Oct 02 10:10:09 2023 +0200
@@ -109,7 +109,14 @@
             ui_passwordfield(obj, .value = wdata->password);
             ui_newline(obj);
 
-            ui_frame(obj, .label = "Test", .colspan = 3, .vexpand = true) {
+            ui_frame(obj, .label = "Test", .colspan = 3) {
+                ui_button(obj, .label = "Button1", .onclick = action1, .onclickdata = "action1");
+            }
+            ui_newline(obj);
+
+            ui_expander(obj, .label = "Expand", .colspan = 3, .margin = 10, .spacing = 5, .isexpanded = true) {
+                ui_button(obj, .label = "Button1", .onclick = action1, .onclickdata = "action1");
+                ui_button(obj, .label = "Button1", .onclick = action1, .onclickdata = "action1");
                 ui_button(obj, .label = "Button1", .onclick = action1, .onclickdata = "action1");
             }
         }

mercurial