]> uap-core.de Git - note.git/commitdiff
add missing hfill to the note_title textfield
authorOlaf Wintermann <olaf.wintermann@gmail.com>
Wed, 22 Oct 2025 18:22:09 +0000 (20:22 +0200)
committerOlaf Wintermann <olaf.wintermann@gmail.com>
Wed, 22 Oct 2025 18:22:09 +0000 (20:22 +0200)
.gitignore
application/window.c

index a8bfba467d998d000b0989b2dcf10add4315a1f3..6a501356393beb8e54ff760608b531268c0ea9da 100644 (file)
@@ -6,3 +6,5 @@ make/vs/**vcxproj.user
 make/vs/vcpkg_installed
 ui/winui/winui.vcxproj.user
 ui/winui/Generated Files
+gmon.out
+
index 98a9642b56a102449f5937aad5c07d7655e44508..108fcb9947271ef58820cc9ab76c3b9281cbecd5 100644 (file)
@@ -85,7 +85,7 @@ void window_create() {
                 ui_vbox(obj, .fill = TRUE) {
                     ui_grid(obj, .margin = 10, .columnspacing = 10, .rowspacing = 10, .def_vfill = TRUE) {
                         //ui_label(obj, .label = "Title", .vfill = TRUE);
-                        ui_textfield(obj, .varname = "note_title", .onchange = action_note_title_changed, .hexpand = TRUE, .groups = UI_GROUPS(APP_STATE_NOTE_SELECTED));
+                        ui_textfield(obj, .varname = "note_title", .onchange = action_note_title_changed, .hexpand = TRUE, .hfill = TRUE, .groups = UI_GROUPS(APP_STATE_NOTE_SELECTED));
                         ui_newline(obj);
                     }
                     ui_hbox(obj, .style_class = "note_toolbar", .margin = 10, .spacing = 4) {