widgets.status: Teach widget to scroll horizontally
commit0f2b1bb22d87e2216328484ce8f9c6ff77d7b490
authorDavid Aguilar <davvid@gmail.com>
Mon, 27 Feb 2012 06:32:56 +0000 (26 22:32 -0800)
committerDavid Aguilar <davvid@gmail.com>
Mon, 27 Feb 2012 06:32:56 +0000 (26 22:32 -0800)
treebd1bc060a663f269ef2537fd64de29ff03276855
parentd82b13ed4cf37f38f16fa2cbc96c5752e5b14b21
widgets.status: Teach widget to scroll horizontally

Resize the 0th column to its contents whenever tree items
are added, expanded, or collapsed.  This makes the widget
use a horizontal scrollbar instead of truncating the text
with elipses.

Closes #115

Reported-by: @bircow on github.com
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/status.py