Align vertical position of person label and edit button
svn: r14529
This commit is contained in:
parent
4f7a2d7593
commit
2fdd3817f0
@ -1,7 +1,7 @@
|
|||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001-2007 Donald N. Allingham
|
# Copyright (C) 2001-2007 Donald N. Allingham
|
||||||
# Copyright (C) 2009 Gary Burton
|
# Copyright (C) 2009-2010 Gary Burton
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -568,7 +568,7 @@ class RelationshipView(NavigationView):
|
|||||||
fmt = '<span size="larger" weight="bold">%s</span>'
|
fmt = '<span size="larger" weight="bold">%s</span>'
|
||||||
text = fmt % cgi.escape(name)
|
text = fmt % cgi.escape(name)
|
||||||
label = widgets.DualMarkupLabel(text, _GenderCode[person.gender],
|
label = widgets.DualMarkupLabel(text, _GenderCode[person.gender],
|
||||||
x_align=1, y_align=0)
|
x_align=1)
|
||||||
if self._config.get('preferences.releditbtn'):
|
if self._config.get('preferences.releditbtn'):
|
||||||
button = widgets.IconButton(self.edit_button_press,
|
button = widgets.IconButton(self.edit_button_press,
|
||||||
person.handle)
|
person.handle)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user