application/main.c

changeset 85
91f45354d1e2
parent 84
a56c2baa9429
child 86
3c63f57a8f77
--- a/application/main.c	Sun Feb 01 10:35:07 2015 +0100
+++ b/application/main.c	Sun Feb 01 12:37:31 2015 +0100
@@ -117,9 +117,12 @@
     ui_menuitem("item4", NULL, NULL);
     
     UiObject *obj = ui_window("Test", NULL);
+    ui_layout_fill(obj, FALSE);
     ui_hbox(obj);
     ui_button(obj, "HELLO", NULL, NULL);
     ui_button(obj, "WORLD", NULL, NULL);
+    ui_layout_fill(obj, TRUE);
+    ui_button(obj, "BUTTON", NULL, NULL);
     ui_end(obj);
     ui_button(obj, "Test1", action_button, NULL);
     ui_button(obj, "Test2", action_button, NULL);

mercurial