mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
color changes
This commit is contained in:
parent
5e032069c1
commit
144636771f
@ -22,8 +22,9 @@ class App(tkinter.Tk):
|
||||
|
||||
tkinter.Tk.__init__(self, *args, **kwargs)
|
||||
|
||||
if customtkinter.get_appearance_mode() == "Dark":
|
||||
self.configure(bg="gray20") # set window background to dark color
|
||||
if "win" in sys.platform:
|
||||
if customtkinter.get_appearance_mode() == "Dark":
|
||||
self.configure(bg="gray20") # set window background to dark color
|
||||
|
||||
self.title(App.APP_NAME)
|
||||
self.geometry(str(App.WIDTH) + "x" + str(App.HEIGHT))
|
||||
|
Loading…
Reference in New Issue
Block a user