summaryrefslogtreecommitdiffstats
path: root/tests/textDisp.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-16 13:26:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-16 13:26:52 (GMT)
commiteaad06dfab9f12af40967edfef6a9a5348af92f2 (patch)
tree51e7e014c45d69efdbd6f0db4f10a6ce949d4b93 /tests/textDisp.test
parent7e0de4a6b4f19d000e66c01ef7a01ca72a3960da (diff)
parentf6a8214c69fd081220a6401284532d1d373749be (diff)
downloadtk-eaad06dfab9f12af40967edfef6a9a5348af92f2.zip
tk-eaad06dfab9f12af40967edfef6a9a5348af92f2.tar.gz
tk-eaad06dfab9f12af40967edfef6a9a5348af92f2.tar.bz2
Improve user experience related to [http://core.tcl.tk/tk/tktview/1499165|dancing scrollbars]. Patch by Koen Danckaert.
Diffstat (limited to 'tests/textDisp.test')
-rw-r--r--tests/textDisp.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test
index a6bbfd7..9c6af70 100644
--- a/tests/textDisp.test
+++ b/tests/textDisp.test
@@ -4104,7 +4104,7 @@ test textDisp-33.2 {one line longer than fits in the widget} {
.tt debug 1
set tk_textHeightCalc ""
.tt insert 1.0 [string repeat "more wrap + " 1]
- after 100 ; update
+ after 100 ; update idletasks
# Nothing should have been recalculated.
set tk_textHeightCalc
} {}
@@ -4184,7 +4184,7 @@ test textDisp-34.1 {Text widgets multi-scrolling problem: Bug 2677890} -setup {
return $result
} -cleanup {
destroy .t1 .sy
-} -result {{0.0 1.0} {0.0 1.0} {0.0 1.0} {0.0 0.24}}
+} -result {{0.0 0.24} {0.0 0.24} {0.0 0.24} {0.0 0.24}}
deleteWindows
option clear