diff options
author | fvogel <fvogelnew1@free.fr> | 2016-11-13 15:14:38 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-11-13 15:14:38 (GMT) |
commit | 014b4675af8c2a789caf37365b6ff284c3981006 (patch) | |
tree | 53afb59b1ebc91988fb5591cc62960c6e70bd75f | |
parent | 7e6a8b0a249f5e75c648e579156e3b30c8866eeb (diff) | |
download | tk-014b4675af8c2a789caf37365b6ff284c3981006.zip tk-014b4675af8c2a789caf37365b6ff284c3981006.tar.gz tk-014b4675af8c2a789caf37365b6ff284c3981006.tar.bz2 |
Added test combobox-3 to check [f60c54bec6]
-rw-r--r-- | tests/ttk/combobox.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ttk/combobox.test b/tests/ttk/combobox.test index 43f3cf1..c134bfc 100644 --- a/tests/ttk/combobox.test +++ b/tests/ttk/combobox.test @@ -45,6 +45,15 @@ 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" -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 +} -result 25 -cleanup { + destroy .cb +} test combobox-1890211 "ComboboxSelected event after listbox unposted" -body { # whitebox test... |