[gimp/gimp-2-8] Bug 703692 - Unable to Resize Large Left Dock Area



commit 38ab5f9d64b6e6dadf9468b6bae9b10f07456317
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.
    
    (cherry picked from commit 6a5e37b68d4a3c136c9a67c86d238f90b8e07263)

 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 88190ca..c8d668e 100644
--- a/app/widgets/gimpcontainergridview.c
+++ b/app/widgets/gimpcontainergridview.c
@@ -702,9 +702,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]