From 938498cb37b6b2950e7daa3bb280dcf0cd79e268 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 18 Nov 2010 12:38:38 +0000 Subject: [PATCH] Added workaround to allow EditPerson window to be smaller than 500 px svn: r16206 --- src/gui/editors/editperson.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/editors/editperson.py b/src/gui/editors/editperson.py index aa78e9dea..6d02dec14 100644 --- a/src/gui/editors/editperson.py +++ b/src/gui/editors/editperson.py @@ -128,6 +128,10 @@ class EditPerson(EditPrimary): EditPrimary.__init__(self, dbstate, uistate, track, person, dbstate.db.get_person_from_handle, dbstate.db.get_person_from_gramps_id, callback) + # I don't know why this is necessary for EditPerson and no + # others, but without it, the height won't get smaller than a + # certain size: + self._set_size() def empty_object(self): """