diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2018-12-07 11:29:13 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-03-04 20:38:05 +0000 |
commit | d0297605c0ec1c6b65f541d0fd5b69ac5a0f4ded (patch) | |
tree | 2ea082357147a9781fa865f62283c0576ce18860 /alot/ui.py | |
parent | fa5f809505e36cc70d26cec973625abb2a86b704 (diff) |
fix double-line issue
Tagstrings with double-width characters resulted in not enough
horizontal space being allocated, which lead urwid to draw the
statusline in two lines instead of one (see #742).
This lets urwid calculate the necessary width itself, using its pack()
method.
Diffstat (limited to 'alot/ui.py')
-rw-r--r-- | alot/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -685,7 +685,7 @@ class UI(object): footerright = urwid.Text(righttxt, align='right') columns = urwid.Columns([ footerleft, - ('fixed', len(righttxt), footerright)]) + ('pack', footerright)]) footer_att = settings.get_theming_attribute('global', 'footer') return urwid.AttrMap(columns, footer_att) |