From 60b3085c13eb08bc6b4dc0c5a6f65765541aa344 Mon Sep 17 00:00:00 2001 From: Tom Schimansky Date: Thu, 10 Mar 2022 21:27:57 +0100 Subject: [PATCH] fixed complex_example.py --- examples/complex_example.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/complex_example.py b/examples/complex_example.py index 91ec09d..699285a 100644 --- a/examples/complex_example.py +++ b/examples/complex_example.py @@ -3,8 +3,8 @@ import tkinter.messagebox import customtkinter import sys -customtkinter.set_appearance_mode("System") # Modes: "System" (standard), "Dark", "Light" -customtkinter.set_default_color_theme("blue") # Themes: "blue" (standard), "green", "dark-blue" +customtkinter.set_appearance_mode("dark") # Modes: "System" (standard), "Dark", "Light" +customtkinter.set_default_color_theme("dark-blue") # Themes: "blue" (standard), "green", "dark-blue" class App(customtkinter.CTk): @@ -181,7 +181,6 @@ class App(customtkinter.CTk): # set default values self.radio_button_1.select() - #self.switch_2.select() self.slider_1.set(0.2) self.slider_2.set(0.7) self.progressbar.set(0.5)