From 77c530f5edab7dd1793349305d10be6f267627f0 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 10 Feb 2015 22:46:00 +0000 Subject: [PATCH] 8351: Allow gramplets detached from the dashboard to fill the window --- gramps/gui/widgets/grampletpane.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gui/widgets/grampletpane.py b/gramps/gui/widgets/grampletpane.py index aa545f232..3e0537baa 100644 --- a/gramps/gui/widgets/grampletpane.py +++ b/gramps/gui/widgets/grampletpane.py @@ -232,6 +232,7 @@ class GrampletWindow(ManagedWindow): """ self.title = gramplet.title + " " + _("Gramplet") self.gramplet = gramplet + self.gramplet.scrolledwindow.set_vexpand(True) self.gramplet.detached_window = self # Keep track of what state it was in: self.docked_state = gramplet.gstate @@ -295,6 +296,7 @@ class GrampletWindow(ManagedWindow): """ Dock the detached GrampletWindow back in the column from where it came. """ + self.gramplet.scrolledwindow.set_vexpand(False) self.gramplet.detached_window = None self.gramplet.pane.detached_gramplets.remove(self.gramplet) if self.docked_state == "minimized":