diff options
author | fvogel <fvogelnew1@free.fr> | 2017-02-01 21:15:22 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-02-01 21:15:22 (GMT) |
commit | 2e9b5f418ea4d764b5ad3049453293d529e2dad6 (patch) | |
tree | 6aeced86c3d78a511a672f0dea43f0909618279a /tests/textIndex.test | |
parent | d2b05530d7db2dc0523aefdfc48f231f59ce7004 (diff) | |
parent | 94a535b1fbe60f678bd43fc60a04498a10cd9e39 (diff) | |
download | tk-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.test | 6 |
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 . {} |