application/main.c

branch
newapi
changeset 408
b06e43f1edd4
parent 407
8ea123dd89db
child 409
86fbc80f0be7
--- a/application/main.c	Wed Dec 04 20:36:16 2024 +0100
+++ b/application/main.c	Thu Dec 05 08:40:37 2024 +0100
@@ -474,25 +474,30 @@
         ui_togglebutton(obj, .label = "ZZ", .hexpand = TRUE, .hfill = TRUE);
         ui_newline(obj);
         
-        ui_hbox(obj, .colspan = 2) {
+        ui_hbox(obj, .colspan = 4, .hfill = TRUE, .hexpand = TRUE) {
             ui_checkbox(obj, .label = "Checkbox", .enable_group = 123);
             ui_checkbox(obj, .label = "Checkbox Disabled", .groups = UI_GROUPS(123));
+            ui_button(obj, .label = "fill", .fill = UI_ON);
         }
         ui_newline(obj);
         
         
-        ui_hbox(obj, .colspan = 4) {
+        
+        ui_hbox(obj, .colspan = 4, .hfill = TRUE, .hexpand = TRUE) {
             ui_radiobutton(obj, .label = "Radio 1", .varname = "radio");
             ui_radiobutton(obj, .label = "Radio 2", .varname = "radio");
+            ui_button(obj, .label = "fill", .hexpand = TRUE, .hfill = TRUE);
         }
         ui_newline(obj);
         
-        ui_hbox(obj, .vexpand = TRUE, .vfill = TRUE) {
-            ui_button(obj, .label = "F1");
-            ui_button(obj, .label = "F2");
-            ui_button(obj, .label = "F3");
+        
+        ui_hbox(obj, .colspan = 4, .vexpand = TRUE, .vfill = TRUE) {
+            ui_button(obj, .label = "F1----------------------A");
+            ui_button(obj, .label = "F2 test test test test test test test");
+            ui_button(obj, .label = "F312343543");
         }
         
+        
     }
     
     

mercurial