diff options
author | fvogel <fvogelnew1@free.fr> | 2017-02-01 21:09:34 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-02-01 21:09:34 (GMT) |
commit | 0691533b9281b179d99856732c3eb28f6a4256cf (patch) | |
tree | 5c29987efb765d4462e1163756c275fef25c54c2 /tests/textDisp.test | |
parent | bc6a00f386a42a918f7ea3907a7899419680c3d4 (diff) | |
download | tk-0691533b9281b179d99856732c3eb28f6a4256cf.zip tk-0691533b9281b179d99856732c3eb28f6a4256cf.tar.gz tk-0691533b9281b179d99856732c3eb28f6a4256cf.tar.bz2 |
Remove old pack syntax from the scripts of the Tk test suite
Diffstat (limited to 'tests/textDisp.test')
-rw-r--r-- | tests/textDisp.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test index 8342c46..a3a4553 100644 --- a/tests/textDisp.test +++ b/tests/textDisp.test @@ -39,7 +39,7 @@ option add *Text.highlightThickness $twht catch {destroy .f .t} frame .f -width 100 -height 20 -pack append . .f left +pack .f -side left set fixedFont {Courier -12} # 15 on XP, 13 on Solaris 8 @@ -65,7 +65,7 @@ set bigAscent [font metrics $bigFont -ascent] set ascentDiff [expr {$bigAscent - $fixedAscent}] text .t -font $fixedFont -width 20 -height 10 -yscrollcommand scroll -pack append . .t {top expand fill} +pack .t -expand 1 -fill both .t tag configure big -font $bigFont .t debug on wm geometry . {} @@ -599,7 +599,7 @@ test textDisp-4.6 {UpdateDisplayInfo, tiny window} { wm overrideredirect . 1 } frame .f2 -width 20 -height 100 - pack before .f .f2 top + pack .f2 -before .f wm geom . 103x103 update .t configure -wrap none -borderwidth 2 |