Harald Oehlmann
2021-11-03 07:59:02 UTC
Hi all,
Not able to test/play around with this directly as I'm on Win 7, but a user has reported that my Tk app doesn't respect the colour scheme from Dark Mode on Windows 10. Is anyone aware of this?
We were able to manually configure most widget background colours to something suitably close to work around it for the most part, but the titlebar/menubar, for instance, remain the usual bright grey, which is problematic for the user in question who has light sensitivity.
All of the extra Tk colours which are defined on Windows, such as SystemButtonFace, also seem to be the same on their system as they are on mine, which suggests these are using some hardcoded values rather than actually getting them from the Windows settings as you'd expect.
Is there any way I'm not aware of to alter this, or would anyone agree that this is a bug in Tk?
Thanks for your help,
Mike
Mike,Not able to test/play around with this directly as I'm on Win 7, but a user has reported that my Tk app doesn't respect the colour scheme from Dark Mode on Windows 10. Is anyone aware of this?
We were able to manually configure most widget background colours to something suitably close to work around it for the most part, but the titlebar/menubar, for instance, remain the usual bright grey, which is problematic for the user in question who has light sensitivity.
All of the extra Tk colours which are defined on Windows, such as SystemButtonFace, also seem to be the same on their system as they are on mine, which suggests these are using some hardcoded values rather than actually getting them from the Windows settings as you'd expect.
Is there any way I'm not aware of to alter this, or would anyone agree that this is a bug in Tk?
Thanks for your help,
Mike
yes, Tk does not respect the Windows dark mode.
I invite you to the awsome (and unfortunately abandoned) AWDark theme,
which is great as dark mode. It has a lot of options. I mainly use it
for Android...
Take care,
Harald