mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
added corner radius to CTkLabel in complex_example.py
This commit is contained in:
parent
228729305b
commit
b3c0388958
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user