From 9aceea013458ae4c0226f4ae8a10b9a9650b2a19 Mon Sep 17 00:00:00 2001 From: deepend Date: Fri, 13 Feb 2026 18:45:13 -0700 Subject: [PATCH] Fixed the preferences layout packing so the main content region can expand vertically and use the full window height in GTK3 builds by packing the notebook with expand/fill enabled (TRUE, TRUE). Fixed the top-level preferences window layout so the central horizontal content area expands within the main vertical container, instead of staying at natural height. --- src/fe-gtk/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index d6b9a833..bc7f5d45 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -2672,7 +2672,7 @@ setup_create_pages (GtkWidget *box) gtk_notebook_set_show_tabs (GTK_NOTEBOOK (book), FALSE); gtk_notebook_set_show_border (GTK_NOTEBOOK (book), FALSE); - gtk_container_add (GTK_CONTAINER (box), book); + gtk_box_pack_start (GTK_BOX (box), book, TRUE, TRUE, 0); return book; } @@ -3140,7 +3140,7 @@ setup_window_open (void) #elif !HAVE_GTK3 hbox = gtkutil_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 4); #endif - gtk_container_add (GTK_CONTAINER (vbox), hbox); + gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0); setup_create_tree (hbox, setup_create_pages (hbox));