From 48712fb619c81cbd499a61f88d7ff4e669553a04 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 11 Mar 2010 22:30:57 +0000 Subject: [PATCH] Fix problem with marriage box size for small trees svn: r14767 --- src/plugins/view/pedigreeview.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/view/pedigreeview.py b/src/plugins/view/pedigreeview.py index ec7a246b5..3165baa5d 100644 --- a/src/plugins/view/pedigreeview.py +++ b/src/plugins/view/pedigreeview.py @@ -1205,7 +1205,8 @@ class PedigreeView(NavigationView): y_pos = _delta / 2 + offset * _delta -1 + _height / 2 width = 1 height = 1 - if self.tree_style == 0 and level < 2: + if self.tree_style == 0 and level < 2 and size > 4: + # Boxes can be bigger for lowest levels on larger trees. y_pos -= 2 height += 4 else: