mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
added padding for the CTkButton text label
This commit is contained in:
parent
d680a54a57
commit
e74ef355aa
@ -216,7 +216,7 @@ class CTkButton(tkinter.Frame):
|
||||
self.text_label = tkinter.Label(master=self,
|
||||
text=self.text,
|
||||
font=self.text_font)
|
||||
self.text_label.grid(row=0, column=0)
|
||||
self.text_label.grid(row=0, column=0, padx=self.corner_radius)
|
||||
|
||||
self.text_label.bind("<Enter>", self.on_enter)
|
||||
self.text_label.bind("<Leave>", self.on_leave)
|
||||
|
Loading…
Reference in New Issue
Block a user