diff -r fcf6d5fac8f5 -r b9808f916687 application/main.c --- a/application/main.c Sun Jan 24 11:59:58 2016 +0100 +++ b/application/main.c Sun Jan 24 12:08:57 2016 +0100 @@ -105,43 +105,14 @@ //ui_mouse_handler(obj, w, click, NULL); ///* - ui_vbox_sp(obj, 8, 8); + ui_grid(obj); - ui_layout_fill(obj, FALSE); - ui_grid_sp(obj, 0, 4, 4); - ui_label(obj, "Name"); - ui_textfield(obj, NULL); - ui_newline(obj); - ui_label(obj, "Email"); - ui_textfield(obj, NULL); - ui_end(obj); - - ui_separator(obj); - - ui_layout_fill(obj, FALSE); - ui_grid_sp(obj, 0, 4, 4); - ui_checkbox(obj, "Shit", NULL); + ui_button(obj, "Test", NULL, NULL); + ui_button(obj, "Test", NULL, NULL); ui_newline(obj); - ui_checkbox(obj, "Nein", NULL); - ui_checkbox(obj, "Nein", NULL); - ui_checkbox(obj, "Nein", NULL); - ui_end(obj); - ui_separator(obj); - - ui_layout_fill(obj, FALSE); - ui_grid_sp(obj, 0, 4, 4); - ui_radiobutton(obj, "better", &radio); - ui_newline(obj); - ui_radiobutton(obj, "smarter", &radio); - ui_newline(obj); - ui_radiobutton(obj, "awesome", &radio); - ui_end(obj); - - ui_space(obj); - - ui_button(obj, "OK", action_button, NULL); - ui_button(obj, "Activate", action_button2, NULL); + ui_layout_gridwidth(obj, 2); + ui_button(obj, "Test", NULL, NULL); ui_end(obj); //*/