added corner radius to CTkLabel in complex_example.py

This commit is contained in:
Tom Schimansky 2022-07-17 20:37:24 +02:00
parent 228729305b
commit b3c0388958

View File

@ -90,6 +90,7 @@ class App(customtkinter.CTk):
"amet consetetur sadipscing elitr,\n" + "amet consetetur sadipscing elitr,\n" +
"sed diam nonumy eirmod tempor" , "sed diam nonumy eirmod tempor" ,
height=100, height=100,
corner_radius=6, # <- custom corner radius
fg_color=("white", "gray38"), # <- custom tuple-color fg_color=("white", "gray38"), # <- custom tuple-color
justify=tkinter.LEFT) justify=tkinter.LEFT)
self.label_info_1.grid(column=0, row=0, sticky="nwe", padx=15, pady=15) self.label_info_1.grid(column=0, row=0, sticky="nwe", padx=15, pady=15)