app/tools: Fix Filter GUI when expanding vertically,

Resolves #11656
Since e4b1f37e, Filter Tool widgets above the Blend
Mode frame do not expand vertically when the dialogue
is resized.
This especially impacts GeglGraph, as you can no longer
increase the text area to see more graph code.
This patch resolves the issue by adding a GtkExpander
to the GUI so that it allows the inner area to resize
vertically.
This commit is contained in:
Cheesequake 2024-06-09 15:02:48 +00:00 committed by Alx Sa
parent f2c14573c3
commit 22c59503b5
2 changed files with 2 additions and 1 deletions

View file

@ -1248,6 +1248,7 @@ gimp_filter_tool_update_dialog_operation_settings (GimpFilterTool *filter_tool)
expander = gtk_expander_new (_("Blending Options"));
gtk_box_pack_start (GTK_BOX (vbox), expander,
FALSE, FALSE, 0);
gtk_expander_set_resize_toplevel (GTK_EXPANDER (expander), TRUE);
gtk_widget_show (expander);
g_object_bind_property (options, "blending-options-expanded",

View file

@ -266,7 +266,7 @@ gimp_operation_tool_dialog (GimpFilterTool *filter_tool)
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (options_sw),
GTK_POLICY_NEVER, GTK_POLICY_NEVER);
gtk_box_pack_start (GTK_BOX (main_vbox), options_sw,
FALSE, FALSE, 0);
TRUE, TRUE, 0);
gtk_widget_show (options_sw);
/* The options vbox */