Mercurial > getan
changeset 272:0190f1c30e3e
Align time column text in Project list to the right
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 12 Apr 2013 09:31:02 +0200 |
parents | 60725e0bcddb |
children | a5c5675b6fa4 |
files | getan/nodes.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/nodes.py Thu Apr 11 12:44:33 2013 +0200 +++ b/getan/nodes.py Fri Apr 12 09:31:02 2013 +0200 @@ -97,7 +97,8 @@ description = urwid.Text([' ' * self.indent, ('project_key', self.item.key), (' '), (proj_desc)], wrap="clip") if self._get_time(): - time = urwid.Text('%s (%s)' % (self.mode[1], time_str)) + time = urwid.Text('%s (%s)' % (self.mode[1], time_str), + align="right") else: time = urwid.Text('') return urwid.AttrMap(urwid.Columns([description, time]), None)