From 06332a1061a98315c1683d4899b35a162a495a33 Mon Sep 17 00:00:00 2001 From: Tom Schimansky Date: Tue, 4 Oct 2022 02:29:02 +0200 Subject: [PATCH] readme fix --- Readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 24af68c..d57d160 100644 --- a/Readme.md +++ b/Readme.md @@ -38,7 +38,6 @@ The **official** documentation can be found in the Wiki Tab here: ## Example Program To test customtkinter you can try this simple example with only a single button: ```python -import tkinter import customtkinter customtkinter.set_appearance_mode("System") # Modes: system (default), light, dark @@ -52,7 +51,7 @@ def button_function(): # Use CTkButton instead of tkinter Button button = customtkinter.CTkButton(master=app, text="CTkButton", command=button_function) -button.place(relx=0.5, rely=0.5, anchor=tkinter.CENTER) +button.place(relx=0.5, rely=0.5, anchor=customtkinter.CENTER) app.mainloop() ```