enhanced geometry string parsing for CTk and CTkToplevel #345 #287

This commit is contained in:
Tom Schimansky
2022-08-05 20:38:05 +02:00
parent 73ab410a96
commit deebaa9163
4 changed files with 118 additions and 60 deletions

View File

@@ -12,7 +12,7 @@ class App(customtkinter.CTk):
super().__init__()
self.title("CustomTkinter complex_example.py")
self.geometry(f"{920}x{500}")
self.geometry(f"{920}x{500}-100-100")
self.protocol("WM_DELETE_WINDOW", self.on_closing) # call .on_closing() when app gets closed
# configure grid layout (4x4)