From d7f6db0f0eb64d1c5fd456ac16d9385d9acadf19 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 19 Aug 2023 22:48:24 +0100 Subject: [PATCH] Fix vertical expansion of family tree manager list --- gramps/gui/dbman.py | 5 +- gramps/gui/glade/dbman.glade | 220 ++++++++++++++++++----------------- 2 files changed, 116 insertions(+), 109 deletions(-) diff --git a/gramps/gui/dbman.py b/gramps/gui/dbman.py index 4bcc9f64c8f..fb745ff9c78 100644 --- a/gramps/gui/dbman.py +++ b/gramps/gui/dbman.py @@ -196,10 +196,9 @@ def __init__(self, uistate, dbstate, viewmanager, parent=None): self.lock_file = None self.data_to_delete = None - objectlist = self.glade.get_object("dblist") self.dblist = PersistentTreeView(uistate, "dbman") - scrolledwindow = self.glade.get_object("scrolledwindow88") - scrolledwindow.remove(objectlist) + self.dblist.set_vexpand(True) + scrolledwindow = self.glade.get_object("scrolledwindow") scrolledwindow.add(self.dblist) self.selection = self.dblist.get_selection() diff --git a/gramps/gui/glade/dbman.glade b/gramps/gui/glade/dbman.glade index 3e68b0d00f0..7cdbec2d8e5 100644 --- a/gramps/gui/glade/dbman.glade +++ b/gramps/gui/glade/dbman.glade @@ -1,33 +1,33 @@ - + - False + False Revision comment - Gramps True - center-on-parent - 450 - dialog + center-on-parent + 450 + dialog True - False + False vertical True - False - end + False + end _OK - False + False True - True - True - False - True + True + True + False + True False @@ -39,21 +39,22 @@ False True - end + end 0 + True - False - 6 - 6 - 6 + False + 6 + 6 + 6 True - False + False start Version description @@ -61,21 +62,21 @@ - 1 - 0 + 1 + 0 True - True + True True - - True + + True - 1 - 1 + 1 + 1 @@ -84,6 +85,21 @@ + + + + + + + + + + + + + + + False @@ -98,30 +114,30 @@ - False - 6 + False + 6 Family Trees - Gramps - dialog + dialog True - False + False vertical True - False - 6 - end + False + 6 + end _Close Window - False + False True - True - True - False - True + True + True + False + True False @@ -132,12 +148,12 @@ _Load Family Tree - False + False True - True - True - False - True + True + True + False + True False @@ -148,12 +164,12 @@ _Help - False + False True - True - True - False - True + True + True + False + True False @@ -166,34 +182,26 @@ False True - end + end 0 True - False + False True - False + False vertical - + True - True - in + True + in - - True - True - True - True - - - - + @@ -205,7 +213,7 @@ True - False + False center @@ -225,20 +233,20 @@ True - False - 12 + False + 12 vertical 6 - start + start _New - False + False True - True - True - False - True + True + True + False + True False @@ -250,10 +258,10 @@ _Info True - True - True - True - True + True + True + True + True False @@ -264,12 +272,12 @@ _Delete - False + False True - True - True - False - True + True + True + False + True False @@ -280,12 +288,12 @@ _Rename - False + False True - True - True - False - True + True + True + False + True False @@ -296,12 +304,12 @@ Close - False + False True - True - True - False - True + True + True + False + True False @@ -312,12 +320,12 @@ Con_vert - False + False True - True - True - False - True + True + True + False + True False @@ -328,12 +336,12 @@ Re_pair - False + False True - True - True - False - True + True + True + False + True False @@ -344,12 +352,12 @@ _Archive - False + False True - True - True - False - True + True + True + False + True False