From 171fa27725c24c439c139132148dff013a0d5cbf Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 27 Aug 2022 03:34:16 +0300 Subject: [PATCH 37/37] gtk4: Fix options area size in optiondlg See osdn #45455 Signed-off-by: Marko Lindqvist --- client/gui-gtk-4.0/optiondlg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/gui-gtk-4.0/optiondlg.c b/client/gui-gtk-4.0/optiondlg.c index 5119fcbe4b..94772c007f 100644 --- a/client/gui-gtk-4.0/optiondlg.c +++ b/client/gui-gtk-4.0/optiondlg.c @@ -502,6 +502,7 @@ static void option_dialog_option_add(struct option_dialog *pdialog, gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_propagate_natural_height(GTK_SCROLLED_WINDOW(sw), TRUE); g_object_set_data(G_OBJECT(sw), "category", GINT_TO_POINTER(category)); gtk_notebook_append_page(GTK_NOTEBOOK(pdialog->notebook), sw, gtk_label_new_with_mnemonic -- 2.35.1