Commit 6a5e37b6 authored by Michael Natterer's avatar Michael Natterer 😴

Bug 703692 - Unable to Resize Large Left Dock Area

gimp_container_grid_view_viewport_resized(): set the wrap_box'
required width to just one cell_width, not cell_width * columns. This
way it can shrink also when attached to a toolbox dock. It remains
unclear why it could nicely shrink in all other dock columns.
parent 7e513faa
......@@ -703,9 +703,8 @@ gimp_container_grid_view_viewport_resized (GtkWidget *widget,
grid_view->columns = columns;
gtk_widget_set_size_request (grid_view->wrap_box,
columns * view_requisition.width,
rows * view_requisition.height);
view_requisition.width,
rows * view_requisition.height);
}
grid_view->visible_rows = (allocation->height /
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment