diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2011-10-07 17:05:15 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2011-10-07 17:05:15 +0200 |
commit | 00800ed4ad7b150a2eadf5f81d385d7640818766 (patch) | |
tree | 6dd83f42e035a01dffe789743c59ee93e7465546 /alot | |
parent | 1a88e868617593007c13966e46331e619b2e8611 (diff) |
Fix clipping of subjects
Subjects that did not fit into the available space were not
displayed at all, giving the column with the subject a
higher weight fixes this.
Diffstat (limited to 'alot')
-rw-r--r-- | alot/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets.py b/alot/widgets.py index 231e5128..962706aa 100644 --- a/alot/widgets.py +++ b/alot/widgets.py @@ -71,7 +71,7 @@ class ThreadlineWidget(urwid.AttrMap): self.subject_w = urwid.AttrMap(urwid.Text(subjectstring, wrap='clip'), 'threadline_subject') if subjectstring: - cols.append(('fixed', len(subjectstring), self.subject_w)) + cols.append(('weight', 2, self.subject_w)) if self.display_content: msgs = self.thread.get_messages().keys() |