summaryrefslogtreecommitdiffstats
path: root/tests/textIndex.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/textIndex.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/textIndex.test')
-rw-r--r--tests/textIndex.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/textIndex.test b/tests/textIndex.test
index ce331b4..3f26af5 100644
--- a/tests/textIndex.test
+++ b/tests/textIndex.test
@@ -13,7 +13,7 @@ namespace import -force tcltest::test
catch {destroy .t}
text .t -font {Courier -12} -width 20 -height 10
-pack append . .t {top expand fill}
+pack .t -expand 1 -fill both
update
.t debug on
wm geometry . {}
@@ -714,7 +714,7 @@ test textIndex-18.1 {Object indices don't cache mark names} {
} {3.4 3.0 1.0}
frame .f -width 100 -height 20
-pack append . .f left
+pack .f -side left
set fixedFont {Courier -12}
set fixedHeight [font metrics $fixedFont -linespace]
@@ -724,7 +724,7 @@ set varFont {Times -14}
set bigFont {Helvetica -24}
destroy .t
text .t -font $fixedFont -width 20 -height 10 -wrap char
-pack append . .t {top expand fill}
+pack .t -expand 1 -fill both
.t tag configure big -font $bigFont
.t debug on
wm geometry . {}