gitk: Use the builtin panedwidget size management functions pt/restore-geometry
authorPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 10 Mar 2010 23:04:06 +0000 (23:04 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 10 Mar 2010 23:04:06 +0000 (23:04 +0000)
commit4698bead255a0d35836f910b95ce9dcd2b02bb02
tree0a2191bab8e51fd21b23f6ada88c3ec0bf73cab2
parent06c88b85acfee0c74859be84c097c4aaa7720e45
gitk: Use the builtin panedwidget size management functions

Since Tk 8.5 the paned widget can be told which panes should expand using
the -stretch pane option. The ttk paned widget has a -weight option. This
patch makes use of these rather than handling the configure event which
currently causes the pane positions to creep during resizing and works
very poorly when switching between zoomed and normal views on windows.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
gitk