author | Pekka Kaitaniemi <kaitanie@cc.helsinki.fi> | |
Sat, 8 Mar 2008 12:27:23 +0000 (14:27 +0200) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 10 Mar 2008 06:42:26 +0000 (17:42 +1100) | ||
commit | 8809d691ec03f6cb60cb01c8bf00441600d6e757 | |
tree | c8fd740f42649d31141e56995f7be6daa1a4e56d | tree | snapshot |
parent | 95293b58eb2ac31f93266f9e86ea17c0999d75c9 | commit | diff |
[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>
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 | diff | blob | history |