From 51401db3af6e76a88a64984a85c7f6cc76fe210d Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 28 Aug 2022 08:23:11 +0300 Subject: [PATCH 51/51] gtk4: Make tech tree window in helpdlg bigger See osdn #45494 Signed-off-by: Marko Lindqvist --- client/gui-gtk-4.0/helpdlg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/gui-gtk-4.0/helpdlg.c b/client/gui-gtk-4.0/helpdlg.c index bf0f6464e1..23966c0d2a 100644 --- a/client/gui-gtk-4.0/helpdlg.c +++ b/client/gui-gtk-4.0/helpdlg.c @@ -735,11 +735,11 @@ static void create_help_dialog(void) gtk_tree_view_append_column(GTK_TREE_VIEW(help_tree), col); - help_tree_sw = gtk_scrolled_window_new(); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(help_tree_sw), - GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_child(GTK_SCROLLED_WINDOW(help_tree_sw), help_tree); + gtk_widget_set_size_request(help_tree_sw, -1, 200); gtk_widget_show(help_tree); gtk_box_append(GTK_BOX(help_box), help_tree_sw); -- 2.35.1