diff -r 37d5b49b1c91 -r 79dd183dd4cb application/main.c --- a/application/main.c Fri Feb 16 19:24:52 2024 +0100 +++ b/application/main.c Fri Feb 16 19:37:51 2024 +0100 @@ -76,7 +76,7 @@ ui_togglebutton(obj, .label = "Toggle"); ui_checkbox(obj, .label = "Checkbox"); - ui_grid(obj, .fill = 1, .spacing = 5) { + ui_grid(obj, .fill = 1, .columnspacing = 5, .rowspacing = 5, .margin = 5) { ui_button(obj, .label = "cell1", .hexpand = TRUE); ui_button(obj, .label = "cell2"); ui_newline(obj); @@ -92,6 +92,9 @@ ui_progressbar(obj, .colspan = 2, .varname = "progress"); ui_set(doc->progress, 0.75); + ui_newline(obj); + + ui_textfield(obj, .value = doc->str1); } ui_show(obj);