From 95776f8e84ffe1f9be92fbc9f016951dc22e7454 Mon Sep 17 00:00:00 2001 From: Stanislav Bolshakov Date: Fri, 3 Jul 2020 18:32:22 +0300 Subject: [PATCH] AgeOnDate: fix position ob input field and button On small screen (as notebook) input field and button are placed on screen's bottom. After this fix this control have top position. --- gramps/plugins/gramplet/ageondategramplet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/gramplet/ageondategramplet.py b/gramps/plugins/gramplet/ageondategramplet.py index 646ad231f..54a5cf87e 100644 --- a/gramps/plugins/gramplet/ageondategramplet.py +++ b/gramps/plugins/gramplet/ageondategramplet.py @@ -68,11 +68,11 @@ class AgeOnDateGramplet(Gramplet): button = Gtk.Button(label=_("Run")) button.connect("clicked", self.run) ##self.filter = + vbox.pack_start(hbox, False, True, 0) + vbox.pack_start(button, False, True, 0) hbox.pack_start(label, False, True, 0) hbox.pack_start(self.entry, True, True, 0) vbox.pack_start(description, True, True, 0) - vbox.pack_start(hbox, False, True, 0) - vbox.pack_start(button, False, True, 0) self.gui.get_container_widget().remove(self.gui.textview) self.gui.get_container_widget().add(vbox) vbox.show_all()