diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-24 09:07:28 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-24 09:07:28 (GMT) |
commit | e10f92249af8322f5e4d9f1fae6bcdd21f00924d (patch) | |
tree | a60a2a142e943d923b4d4bc7461d407fb511f65e /tests | |
parent | e977448fa4e13fe1d4f2c0c6772ab1006e3f94a3 (diff) | |
parent | 5d9e5480a505739f553519d15fd0270185127b50 (diff) | |
download | tk-e10f92249af8322f5e4d9f1fae6bcdd21f00924d.zip tk-e10f92249af8322f5e4d9f1fae6bcdd21f00924d.tar.gz tk-e10f92249af8322f5e4d9f1fae6bcdd21f00924d.tar.bz2 |
Fix [86a74688625ba88631461808c9635e42559f68ea|86a7468862]. Make test combobox-3 pass on all platforms.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ttk/combobox.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ttk/combobox.test b/tests/ttk/combobox.test index 35ded6c..7ea0c5c 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 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 } |