tools: Improve Filter Tool UI for Blending Options...
...by having it stay in the same position when expanded and closed rather than moving to the bottom afterwards.
This commit is contained in:
parent
acf2756e4a
commit
e4b1f37e4e
2 changed files with 6 additions and 6 deletions
|
|
@ -411,17 +411,17 @@ gimp_filter_tool_initialize (GimpTool *tool,
|
|||
if (! filter_tool->widget)
|
||||
gtk_widget_hide (filter_tool->controller_toggle);
|
||||
|
||||
/* Fill in subclass widgets */
|
||||
gimp_filter_tool_dialog (filter_tool);
|
||||
|
||||
/* The operation-settings box */
|
||||
filter_tool->operation_settings_box = gtk_box_new (
|
||||
GTK_ORIENTATION_VERTICAL, 2);
|
||||
gtk_box_pack_end (GTK_BOX (vbox), filter_tool->operation_settings_box,
|
||||
FALSE, FALSE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), filter_tool->operation_settings_box,
|
||||
FALSE, FALSE, 0);
|
||||
gtk_widget_show (filter_tool->operation_settings_box);
|
||||
|
||||
gimp_filter_tool_update_dialog_operation_settings (filter_tool);
|
||||
|
||||
/* Fill in subclass widgets */
|
||||
gimp_filter_tool_dialog (filter_tool);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
TRUE, TRUE, 0);
|
||||
FALSE, FALSE, 0);
|
||||
gtk_widget_show (options_sw);
|
||||
|
||||
/* The options vbox */
|
||||
|
|
|
|||
Loading…
Reference in a new issue