Tkinter - How do you centre text on a LabelFrame?

359 Views Asked by At

I want to centre the text on a LabelFrame. I have tried using side="centre" and anchor="centre" but I just get an unknown option '-anchor'.

I tried searching online but nothing is coming up for a LabelFrame. Is there anything else I could try?

The image below is an example of what I am trying to change: enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

You can use labelanchor="n" option.