Code

git-gui: Avoid console scrollbars unless they are necessary
authorShawn O. Pearce <spearce@spearce.org>
Sun, 23 Sep 2007 09:25:13 +0000 (05:25 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 23 Sep 2007 09:25:13 +0000 (05:25 -0400)
commitfbc8a93cd5b03bf15a3ebef6c0a512d2da3df7c4
tree70e0a0e4d93e90f02a4c944d9433a50880114129
parentab08b3630414dfb867825c4a5828438e1c69199d
git-gui: Avoid console scrollbars unless they are necessary

We shouldn't create scrollbars for the horziontal or vertical sides
unless there is enough content to make it worth drawing these widgets
on screen.  This way users don't loose screen space to objects that
won't help them navigate the display.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/console.tcl