application/main.c

changeset 938
be4c88ded783
parent 937
06e03c7e39db
child 940
105bccb3dc66
--- a/application/main.c	Wed Nov 26 19:39:37 2025 +0100
+++ b/application/main.c	Thu Nov 27 15:15:09 2025 +0100
@@ -1235,7 +1235,14 @@
         //UiModel *model = ui_model(obj->ctx, UI_STRING, "Name", UI_STRING, "Email", -1);
         //ui_table(obj, .fill = TRUE, .varname = "persons", .model = model, .getvalue = person_getvalue, .onselection = list_onselection);
         //ui_model_free(obj->ctx, model);
-        ui_combobox(obj, .varname = "persons", .getvalue = person_getvalue, .onactivate = list_onselection);
+        ui_combobox(obj, .varname = "persons", .getvalue = person_getvalue, .onactivate = list_onselection, .hexpand = TRUE, .hfill = TRUE);
+
+        ui_button(obj, .label = "Test 1");
+        ui_newline(obj);
+
+        ui_button(obj, .label = "Button 1", .hfill = TRUE);
+        ui_button(obj, .label = "Button 2");
+        ui_button(obj, .label = "Button 2");
     }
 
 

mercurial