Attachment "sizegrip.test" to
ticket [2912356f]
added by
jenglish
2009-12-23 08:00:16.
# Ref: bug#2912356
package require Tk
;# package require tile
text .t -yscrollcommand [list .vsb set] -xscrollcommand [list .hsb set]
ttk::scrollbar .vsb -orient vertical -command [list .t yview]
ttk::scrollbar .hsb -orient horizontal -command [list .t xview]
ttk::sizegrip .sg
grid .t .vsb -sticky news
grid .hsb .sg -sticky news
grid columnconfigure . 0 -weight 1
grid rowconfigure . 0 -weight 1
.t insert end {
Instructions:
Try resizing the window with the sizegrip widget
under various conditions: when the window first pops up;
after moving and/or resizing the window via WM controls;
after iconifying and deiconifying; etc.
See if anything looks wrong. Main thing to look out for
is the window "jumping" when the sizegrip is dragged.
}