j4321 / tkcalendar

Calendar widget for Tkinter
https://pypi.python.org/pypi/tkcalendar
GNU General Public License v3.0
98 stars 33 forks source link

Downarrow button of DateEntry does not work with ttk default theme on Windows #3

Closed j4321 closed 6 years ago

j4321 commented 6 years ago

In Windows, when clicking on the downarrow button of a DateEntry using ttk default syle for Windows, the drop-down calendar does not show up. On the contrary, every thing works fine with 'clam' theme.

It most likely comes from the fact that some themes are more configurable than others and for those one the custom style for the DateEntry does not work properly.

j4321 commented 6 years ago

Temporary workaround: use a different theme:

style = ttk.Style()
style.theme_use('clam')