Reputation: 513
How can I add padding to a tkinter window, without tkinter centering the widget?
self.canvas_l = Label(self.master, text="Heading", font="helvetica 12")
self.canvas_l.pack(anchor=tk.NW, ipadx=20)
Upvotes: 1
Views: 427
Reputation: 132
I don't have your full code, but you should try putting it in a 'frame'
you can probably center the frame, but you will be able to off-center the label inside.
this is a bit cheezy, but due to the nature of padding it will be hard.
Upvotes: 1