]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Attempt to get the location column to resize in a sensible way
authorDirk Hohndel <dirk@hohndel.org>
Tue, 20 Sep 2011 16:57:38 +0000 (09:57 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Tue, 20 Sep 2011 16:57:38 +0000 (09:57 -0700)
Previously the SAC column was the one that expanded which is silly

We also used to cut the location off at 16 characters

Now we try to make the location the one that expands and allow up to 40
characters, but there's something broken, still. If you manually shrink
the location column to its minimum size then subsequently resizing the
window gets the desired behavior. But if you don't manually resize the
location column it doesn't shrink correctly for windows that are smaller
than the space we need for all columns to fully display (instead we get a
horizontal scrollbar)

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found