mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
Bug 703692 - Unable to Resize Large Left Dock Area
Small fix for the last commit: set a silly small initial size request on the wrap_box so it doesn't initially request too much and breaks dock layout deserialization.
This commit is contained in:
parent
a0f98b50d5
commit
a2334b0b15
1 changed files with 5 additions and 0 deletions
|
@ -195,6 +195,11 @@ gimp_container_grid_view_init (GimpContainerGridView *grid_view)
|
|||
gimp_editor_set_show_name (GIMP_EDITOR (grid_view), TRUE);
|
||||
|
||||
grid_view->wrap_box = gtk_hwrap_box_new (FALSE);
|
||||
|
||||
/* set a silly small and random size request so it doesn't initially
|
||||
* request too much and breaks dock geometry deserialization
|
||||
*/
|
||||
gtk_widget_set_size_request (grid_view->wrap_box, 16, 16);
|
||||
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (box->scrolled_win),
|
||||
grid_view->wrap_box);
|
||||
viewport = gtk_widget_get_parent (grid_view->wrap_box);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue