summaryrefslogtreecommitdiffstats
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)
commit0651fd12fcd97a3bd62c8ba843b9ef152378ee4f (patch)
tree7158bfa1739801562591c6a10993be77a956ee81
parentda18d7586cfb1a1fa685c0ec288205dc94550a3c (diff)
parente10f92249af8322f5e4d9f1fae6bcdd21f00924d (diff)
downloadtk-0651fd12fcd97a3bd62c8ba843b9ef152378ee4f.zip
tk-0651fd12fcd97a3bd62c8ba843b9ef152378ee4f.tar.gz
tk-0651fd12fcd97a3bd62c8ba843b9ef152378ee4f.tar.bz2
merge core-8-6-branch
-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
}