Closed hariprasath112 closed 11 months ago
Found a way around to make it work. Used a library called ntkutils
to set dark titlebar
import ntkutils
ntkutils.dark_title_bar(root)
then made the window close and restart itself with the below code
python = sys.executable
os.execl(python, python, * sys.argv)
To make the title bar dark I use the below code
But when I use the code, the combobox that contains Tkcalender loses its styles and shows up as normal unstyled combobox
Fo reference, This is what it looks like without using the above code,![image](https://github.com/j4321/tkcalendar/assets/96934076/ffec0e36-86f8-4fc2-81e9-adc2e4c79e04)
I'll also add the DateEntry element's code
Calendar opened (Without dark titlebar code):
With Code:
The preset text is also white-colored, hence it is not visible. I use Sun Valley theme
sv_ttk