summaryrefslogtreecommitdiffstats
path: root/tests/winButton.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-01-20 19:23:46 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-01-20 19:23:46 (GMT)
commit0176b08225a47e5f21586757e0efb9cfe8609fa7 (patch)
tree91673cb7b0c95cde596fc08edc9971ecc7a519de /tests/winButton.test
parent6c0187f324138cc7e5f7aeaafa9718bd32e536c4 (diff)
parentbbcec99c56690c05359f41e55c6dd7f3461c9aee (diff)
downloadtk-0176b08225a47e5f21586757e0efb9cfe8609fa7.zip
tk-0176b08225a47e5f21586757e0efb9cfe8609fa7.tar.gz
tk-0176b08225a47e5f21586757e0efb9cfe8609fa7.tar.bz2
merge 8.5
Diffstat (limited to 'tests/winButton.test')
-rw-r--r--tests/winButton.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/winButton.test b/tests/winButton.test
index 5bf6867..5e3dcfb 100644
--- a/tests/winButton.test
+++ b/tests/winButton.test
@@ -29,7 +29,9 @@ radiobutton .r -text Radiobutton
pack .l .b .c .r
update
-test winbutton-1.1 {TkpComputeButtonGeometry procedure} {testImageType win} {
+test winbutton-1.1 {TkpComputeButtonGeometry procedure} {testImageType win nonPortable} {
+ # 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
image create test image1
image1 changed 0 0 0 0 60 40
@@ -46,7 +48,9 @@ test winbutton-1.1 {TkpComputeButtonGeometry procedure} {testImageType win} {
[winfo reqwidth .b3] [winfo reqheight .b3] \
[winfo reqwidth .b4] [winfo reqheight .b4]
} {68 48 70 50 90 52 90 52}
-test winbutton-1.2 {TkpComputeButtonGeometry procedure} win {
+test winbutton-1.2 {TkpComputeButtonGeometry procedure} {win nonPortable} {
+ # 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
label .b1 -bitmap question -bd 3 -padx 0 -pady 2
button .b2 -bitmap question -bd 3 -padx 0 -pady 2