summaryrefslogtreecommitdiffstats
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)
commitf80ebafe71de8aa4f34ad087ec8d4fbbd2c75679 (patch)
tree4cf29d89db8421c07c639141d2472fdbf33a0ac9
parentb84445957dd96729af63aa3d83cbcf8b590d69e2 (diff)
parentfe09626bab5815a68b1cb4f9216df9b4865ff09d (diff)
downloadtk-f80ebafe71de8aa4f34ad087ec8d4fbbd2c75679.zip
tk-f80ebafe71de8aa4f34ad087ec8d4fbbd2c75679.tar.gz
tk-f80ebafe71de8aa4f34ad087ec8d4fbbd2c75679.tar.bz2
Fixed bug [3e3e25f483] - winbutton-1.[12] fails on Win7
-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