From 014b4675af8c2a789caf37365b6ff284c3981006 Mon Sep 17 00:00:00 2001 From: fvogel Date: Sun, 13 Nov 2016 15:14:38 +0000 Subject: Added test combobox-3 to check [f60c54bec6] --- tests/ttk/combobox.test | 9 +++++++++ 1 file changed, 9 insertions(+) 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... -- cgit v0.12