summaryrefslogtreecommitdiffstats
path: root/tests/ttk
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-24 09:12:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-24 09:12:50 (GMT)
commit6164a3347a9671d17e6946868237e3e60000fcd9 (patch)
tree7158bfa1739801562591c6a10993be77a956ee81 /tests/ttk
parent91fa6a052ce0aa2ace9b52fde257d69a9cd8de29 (diff)
parent6fef439046e226654712dd100cdc68d2ceb5c07b (diff)
downloadtk-6164a3347a9671d17e6946868237e3e60000fcd9.zip
tk-6164a3347a9671d17e6946868237e3e60000fcd9.tar.gz
tk-6164a3347a9671d17e6946868237e3e60000fcd9.tar.bz2
merge core-8-6-branch
Diffstat (limited to 'tests/ttk')
-rw-r--r--tests/ttk/combobox.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ttk/combobox.test b/tests/ttk/combobox.test
index 3c40892..3868953 100644
--- a/tests/ttk/combobox.test
+++ b/tests/ttk/combobox.test
@@ -45,12 +45,12 @@ test combobox-2.4 "current -- value not in list" -body {
test combobox-2.end "Cleanup" -body { destroy .cb }
-test combobox-3 "Read postoffset value dynamically from current style" -constraints unix -body {
+test combobox-3 "Read postoffset value dynamically from current style" -body {
ttk::combobox .cb -values [list a b c] -style "DerivedStyle.TCombobox"
- pack .cb -expand true -fill both
+ pack .cb -expand true -fill both
ttk::style configure DerivedStyle.TCombobox -postoffset [list 25 0 0 0]
ttk::combobox::Post .cb
- winfo x .cb.popdown
+ expr {[winfo rootx .cb.popdown] - [winfo rootx .cb]}
} -result 25 -cleanup {
destroy .cb
}