summaryrefslogtreecommitdiffstats
path: root/tests/listbox.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-10-13 00:54:45 (GMT)
committerhobbs <hobbs>2003-10-13 00:54:45 (GMT)
commit72189f9cb2be5edde675ea6bb53d60ca2e0e2894 (patch)
tree6caf2aeb2becc176ddaaec4bd46937a576e51cad /tests/listbox.test
parentd68babc6f13dfb13044c2a5310a4c453536aa87f (diff)
downloadtk-72189f9cb2be5edde675ea6bb53d60ca2e0e2894.zip
tk-72189f9cb2be5edde675ea6bb53d60ca2e0e2894.tar.gz
tk-72189f9cb2be5edde675ea6bb53d60ca2e0e2894.tar.bz2
* tests/listbox.test (13.3): correct result size
(4.7): correct test for possible window drift [Bug #701931] (dgp)
Diffstat (limited to 'tests/listbox.test')
-rw-r--r--tests/listbox.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/listbox.test b/tests/listbox.test
index dd686cc..ef9de1c 100644
--- a/tests/listbox.test
+++ b/tests/listbox.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: listbox.test,v 1.22 2003/04/01 21:06:37 dgp Exp $
+# RCS: @(#) $Id: listbox.test,v 1.23 2003/10/13 00:54:45 hobbs Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -838,7 +838,7 @@ test listbox-4.7 {ConfigureListbox procedure} {
catch {destroy .l}
wm withdraw .
listbox .l -font $fixed -width 30 -height 20 -setgrid 1
- wm geom . +0+0
+ wm geom . +25+25
pack .l
update
wm deiconify .
@@ -1526,7 +1526,7 @@ test listbox-13.3 {ListboxScanTo procedure} {fonts} {
.l scan dragto [expr 5+$width] [expr 10+$height]
update
lappend x [.l xview] [.l yview]
-} {{0.8 1} {0.75 1} {0.62 0.82} {0.25 0.5}}
+} {{0.8 1} {0.75 1} {0.64 0.84} {0.25 0.5}}
test listbox-14.1 {NearestListboxElement procedure, partial last line} {
mkPartial