summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-11-13 15:14:38 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-11-13 15:14:38 (GMT)
commit014b4675af8c2a789caf37365b6ff284c3981006 (patch)
tree53afb59b1ebc91988fb5591cc62960c6e70bd75f
parent7e6a8b0a249f5e75c648e579156e3b30c8866eeb (diff)
downloadtk-014b4675af8c2a789caf37365b6ff284c3981006.zip
tk-014b4675af8c2a789caf37365b6ff284c3981006.tar.gz
tk-014b4675af8c2a789caf37365b6ff284c3981006.tar.bz2
Added test combobox-3 to check [f60c54bec6]
-rw-r--r--tests/ttk/combobox.test9
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...