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

svn: r8479
This commit is contained in:
Brian Matherly 2007-05-16 02:09:04 +00:00
parent ada7cb037d
commit c020882e40
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

@ -418,7 +418,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()
@ -439,10 +440,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:
@ -455,7 +457,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)