0001043: Dropdown list in htmloptions in Family Group Report has very large size

svn: r8478
This commit is contained in:
Brian Matherly 2007-05-16 02:05:51 +00:00
parent e762f660e6
commit a0ea98f888
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2007-05-15 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_ReportDialog.py: 0001043: Dropdown list in htmloptions in
Family Group Report has very large size
2007-05-15 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: Sort strings, not lists.

View File

@ -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)