From a0ea98f888e8813f5c2ec965da5179ee699746c6 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Wed, 16 May 2007 02:05:51 +0000 Subject: [PATCH] 0001043: Dropdown list in htmloptions in Family Group Report has very large size svn: r8478 --- gramps2/ChangeLog | 4 ++++ gramps2/src/ReportBase/_ReportDialog.py | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 2103452be..d3c8ce03b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2007-05-15 Brian Matherly + * src/ReportBase/_ReportDialog.py: 0001043: Dropdown list in htmloptions in + Family Group Report has very large size + 2007-05-15 Brian Matherly * src/plugins/NarrativeWeb.py: Sort strings, not lists. diff --git a/gramps2/src/ReportBase/_ReportDialog.py b/gramps2/src/ReportBase/_ReportDialog.py index e700f0602..b8034c695 100644 --- a/gramps2/src/ReportBase/_ReportDialog.py +++ b/gramps2/src/ReportBase/_ReportDialog.py @@ -443,7 +443,8 @@ class ReportDialog(BareReportDialog): label = gtk.Label("%s:" % _("Template")) label.set_alignment(0.0,0.5) - self.html_table.attach(label, 1, 2, 1, 2, gtk.SHRINK|gtk.FILL) + self.html_table.attach(label, 1, 2, 1, 2, gtk.SHRINK|gtk.FILL, + yoptions=gtk.SHRINK) self.template_combo = gtk.combo_box_new_text() tlist = _template_map.keys() @@ -464,10 +465,11 @@ class ReportDialog(BareReportDialog): self.template_combo.connect('changed',self.html_file_enable) - self.html_table.attach(self.template_combo,2,3,1,2) + self.html_table.attach(self.template_combo,2,3,1,2, yoptions=gtk.SHRINK) label = gtk.Label("%s:" % _("User Template")) label.set_alignment(0.0,0.5) - self.html_table.attach(label, 1, 2, 2, 3, gtk.SHRINK|gtk.FILL) + self.html_table.attach(label, 1, 2, 2, 3, gtk.SHRINK|gtk.FILL, + yoptions=gtk.SHRINK) self.html_fileentry = FileEntry("HTML_Template", _("Choose File")) if template_name and not active_index: @@ -480,7 +482,7 @@ class ReportDialog(BareReportDialog): if os.path.isfile(user_template): self.html_fileentry.set_filename(user_template) - self.html_table.attach(self.html_fileentry,2,3,2,3) + self.html_table.attach(self.html_fileentry,2,3,2,3, yoptions=gtk.SHRINK) self.template_combo.set_active(active_index)