--- a/application/main.c Wed Jan 07 17:25:33 2015 +0100 +++ b/application/main.c Wed Jan 07 20:11:36 2015 +0100 @@ -105,23 +105,15 @@ printf("create window\n"); UiObject *window = ui_window("Mod0", NULL); + ui_layout_fill(window, FALSE); + ui_grid(window); + ui_button(window, "Test1________________", action_button, NULL); + ui_button(window, "Test2", action_button, NULL); + ui_newline(window); ui_button(window, "Test1", action_button, NULL); ui_button(window, "Test2", action_button, NULL); - - ui_hbox(window); - - ui_layout_fill(window, FALSE); - ui_vbox(window); - ui_button(window, "A", NULL, NULL); - ui_button(window, "B", NULL, NULL); - ui_button(window, "C", NULL, NULL); ui_end(window); - ui_textarea_nv(window, "text"); - ui_end(window); - - ui_button(window, "Test4", action_button, NULL); - ui_show(window); ui_main();