summaryrefslogtreecommitdiffstats
path: root/tests/textIndex.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-02-01 21:09:34 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-02-01 21:09:34 (GMT)
commit0691533b9281b179d99856732c3eb28f6a4256cf (patch)
tree5c29987efb765d4462e1163756c275fef25c54c2 /tests/textIndex.test
parentbc6a00f386a42a918f7ea3907a7899419680c3d4 (diff)
downloadtk-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/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 83a249e..7d44516 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 . {}