make/vs/testapp/main.c

branch
newapi
changeset 202
9f309d1914a2
parent 198
f2332d0d3318
child 203
0e94be3d9722
--- a/make/vs/testapp/main.c	Tue Oct 03 16:30:42 2023 +0200
+++ b/make/vs/testapp/main.c	Tue Oct 03 21:10:15 2023 +0200
@@ -136,25 +136,22 @@
             ui_passwordfield(obj, .value = wdata->password);
             ui_newline(obj);
 
-            /*
             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 = false) {
                 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");
             }
-            */
+            ui_newline(obj);
 
             ui_combobox(obj, .list = wdata->list, .onselection= action_listselection_changed, .onactivate= action_onactivate);
             ui_newline(obj);
 
-            ui_tabview(obj, .colspan = 3, .vexpand = true, .hexpand = true) {
+            ui_tabview(obj, .colspan = 3, .vexpand = true, .hexpand = true, .tabview = UI_TABVIEW_NAVIGATION_TOP2) {
                 ui_tab(obj, "Tab 1") {
                     ui_button(obj, .label = "Tab 1 Button");
                 }

mercurial