]> uap-core.de Git - note.git/commitdiff
change groups dropdown menu hfill setting in the New Notebook dialog
authorOlaf Wintermann <olaf.wintermann@gmail.com>
Fri, 23 May 2025 18:23:59 +0000 (20:23 +0200)
committerOlaf Wintermann <olaf.wintermann@gmail.com>
Fri, 23 May 2025 18:23:59 +0000 (20:23 +0200)
application/window.c

index 5f901c2a0bdd5893c485aa58ccc539b85c47bf67..b834d8b63076e7955bec50c96ba566474ae21080 100644 (file)
@@ -337,8 +337,8 @@ void action_notebook_add(UiEvent *event, void *userdata) {
     
     // Dialog UI
     ui_grid(obj, .margin = 10, .columnspacing = 10, .rowspacing = 10, .def_vfill = TRUE, .fill = UI_ON) {
-        UIWIDGET gs_label = ui_rlabel(obj, .label = "Group");
-        UIWIDGET gs_list = ui_combobox(obj, .list = wdata->groups, .getvalue = nnd_group_value);
+        ui_rlabel(obj, .label = "Group");
+        ui_combobox(obj, .list = wdata->groups, .getvalue = nnd_group_value, .hfill = TRUE, .hexpand = TRUE);
         ui_newline(obj);
         
         ui_newline(obj);