diff options
author | fvogel <fvogelnew1@free.fr> | 2016-01-06 13:22:06 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-01-06 13:22:06 (GMT) |
commit | 975963bc1eb5cfb0c4b01b258dbe9a08269217dc (patch) | |
tree | ed180fae9ca3f8010c5444b19d0f722bd3a6d882 | |
parent | 1a7d3ba3cabd12bbfac8cf8a06c1cc2b755ce3dc (diff) | |
download | tk-bug_3e3e25f483.zip tk-bug_3e3e25f483.tar.gz tk-bug_3e3e25f483.tar.bz2 |
Fixed bug [3e3e25f483] - winbutton-1.[12] fails on Win7bug_3e3e25f483
-rw-r--r-- | tests/winButton.test | 8 |
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 |