--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/application/application.c Wed Dec 09 11:32:01 2020 +0100 @@ -0,0 +1,30 @@ + + +#include "application.h" + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +void application_startup(UiEvent *event, void *data) { + UiObject *win = ui_window("Note", NULL); + + UI_VBOX(win) { + ui_button(win, "Line1", NULL, NULL); + ui_button(win, "Line2", NULL, NULL); + UI_HBOX(win) { + ui_button(win, "Line3_1", NULL, NULL); + ui_button(win, "Line3_2", NULL, NULL); + ui_button(win, "Line3_3", NULL, NULL); + } + UI_CTN(win, ui_hbox_sp(win, 10, 10)) { + ui_label(win, "1"); + ui_label(win, "2"); + ui_layout_fill(win, TRUE); + ui_textfield(win, NULL); + } + ui_button(win, "Line4", NULL, NULL); + } + + ui_show(win); +}