summaryrefslogtreecommitdiffstats
path: root/tests/textDisp.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-02-01 21:15:22 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-02-01 21:15:22 (GMT)
commit2e9b5f418ea4d764b5ad3049453293d529e2dad6 (patch)
tree6aeced86c3d78a511a672f0dea43f0909618279a /tests/textDisp.test
parentd2b05530d7db2dc0523aefdfc48f231f59ce7004 (diff)
parent94a535b1fbe60f678bd43fc60a04498a10cd9e39 (diff)
downloadtk-2e9b5f418ea4d764b5ad3049453293d529e2dad6.zip
tk-2e9b5f418ea4d764b5ad3049453293d529e2dad6.tar.gz
tk-2e9b5f418ea4d764b5ad3049453293d529e2dad6.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.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test
index 5393533..654a044 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