Jan-23-2021, 02:21 AM
You use justify to left/right/center justify the text inside the label widget. To center the label widget inside the button you use alignment. There was a button.set_alignment(x, y) that did this but it is depreciated or gone. button.set_alignment(0.5, 0.5) would center the label widget inside the button. Now I think you use set_halign and set_valign on the label widget inside the button.