[gimp] Bug 703692 - Unable to Resize Large Left Dock Area
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 703692 - Unable to Resize Large Left Dock Area
- Date: Sat, 13 Jul 2013 16:54:10 +0000 (UTC)
commit 6a5e37b68d4a3c136c9a67c86d238f90b8e07263
Author: Michael Natterer <mitch gimp org>
Date: Sat Jul 13 18:50:55 2013 +0200
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.
app/widgets/gimpcontainergridview.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimpcontainergridview.c b/app/widgets/gimpcontainergridview.c
index a24a694..65dcda6 100644
--- a/app/widgets/gimpcontainergridview.c
+++ b/app/widgets/gimpcontainergridview.c
@@ -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 /
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]