tkcalendar: dateEntry being blocked from view unless clicked multiple times

62 views Asked by At

Firstly, I will apologise for the bad explanation because I do not really understand the issue.

However, in any of my programs when I use a dateEntry, it will at first be covered, and requires multiple clicks to get rid of this cover and to show the dates.

Please see video for better explanation: here Also, a picture at the bottom (i think) to showcase this.

Example code:

import tkinter
import tkcalendar

window = tkinter.Tk()
window.title("Example")
window.geometry("1200x750")
window.configure(bg = "white")

dateentry_example = tkcalendar.DateEntry(window, locale = "en_US", date_pattern = "y/mm/dd")
dateentry_example.grid(sticky = "N", padx = 500, pady = 50)

window.mainloop()

I do apologise if this is an easy fix that I somehow missed in the documentation.

I mainly expected that when clicking the drop down arrow that it would display all the dates automatically, however it requires promting multiple times to allow that to happen.

0

There are 0 answers