summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-08 11:32:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-08 11:32:59 (GMT)
commit36db175996d43acf3e378e3ddb71d1977f04e4e3 (patch)
tree4cf29d89db8421c07c639141d2472fdbf33a0ac9 /tests
parent3d2f0e6ce8a80b8a5b4bb35da72cc67c253cee52 (diff)
parent975963bc1eb5cfb0c4b01b258dbe9a08269217dc (diff)
downloadtk-36db175996d43acf3e378e3ddb71d1977f04e4e3.zip
tk-36db175996d43acf3e378e3ddb71d1977f04e4e3.tar.gz
tk-36db175996d43acf3e378e3ddb71d1977f04e4e3.tar.bz2
Fixed bug [3e3e25f483] - winbutton-1.[12] fails on Win7
Diffstat (limited to 'tests')
-rw-r--r--tests/winButton.test10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/winButton.test b/tests/winButton.test
index 8bf1d01..88b4345 100644
--- a/tests/winButton.test
+++ b/tests/winButton.test
@@ -22,8 +22,10 @@ option clear
# ----------------------------------------------------------------------
test winbutton-1.1 {TkpComputeButtonGeometry procedure} -constraints {
- testImageType win
+ testImageType win nonPortable
} -setup {
+ # nonPortable because of [3e3e25f483]: on Win7 first started with a high DPI screen
+ # the smallest size (i.e. 8) is not available for "MS Sans Serif" font
deleteWindows
} -body {
image create test image1
@@ -47,7 +49,11 @@ test winbutton-1.1 {TkpComputeButtonGeometry procedure} -constraints {
image delete image1
} -result {68 48 70 50 90 52 90 52}
-test winbutton-1.2 {TkpComputeButtonGeometry procedure} -constraints win -setup {
+test winbutton-1.2 {TkpComputeButtonGeometry procedure} -constraints {
+ win nonPortable
+} -setup {
+ # nonPortable because of [3e3e25f483]: on Win7 first started with a high DPI screen
+ # the smallest size (i.e. 8) is not available for "MS Sans Serif" font
deleteWindows
} -body {
label .b1 -bitmap question -bd 3 -padx 0 -pady 2