changeset 168:75fef53ebc36

Don't wrap the project description to the next line Instead of displaying the project discription on the next line in the project list clip it.
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 06 Dec 2012 15:50:58 +0100 (2012-12-06)
parents be9acb00cd97
children d10a0e35b982
files getan/view.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/view.py	Thu Dec 06 15:44:04 2012 +0100
+++ b/getan/view.py	Thu Dec 06 15:50:58 2012 +0100
@@ -154,7 +154,7 @@
         description = urwid.Text([' ' * self.indent,
                                   ('project_key', self.item.key),
                                   (' '),
-                                  (proj_desc)])
+                                  (proj_desc)], wrap="clip")
         if self._get_time():
             time = urwid.Text('%s (%s)' % (self.mode[1], time_str))
         else:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)