[PATCH] gitk: Add horizontal scrollbar to the diff view
commit8809d691ec03f6cb60cb01c8bf00441600d6e757
authorPekka Kaitaniemi <kaitanie@cc.helsinki.fi>
Sat, 8 Mar 2008 12:27:23 +0000 (8 14:27 +0200)
committerPaul Mackerras <paulus@samba.org>
Mon, 10 Mar 2008 06:42:26 +0000 (10 17:42 +1100)
treec8fd740f42649d31141e56995f7be6daa1a4e56d
parent95293b58eb2ac31f93266f9e86ea17c0999d75c9
[PATCH] gitk: Add horizontal scrollbar to the diff view

Adding horizontal scroll bar makes the scrolling feature more
discoverable to the users.  The horizontal scrollbar is a bit narrower
than vertical ones so we don't make too big impact on available screen
real estate.  The text and scrollbar widget layout is done using grid
geometry manager.

An interesting side effect of Tk scrollbars is that the "elevator"
size changes depending on the visible content. So the horizontal
scrollbar "elevator" changes as the user scrolls the view up and down.

Signed-off-by: Pekka Kaitaniemi <kaitanie@cc.helsinki.fi>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk