how to ceter align a button in tk inter code example Example: tkinter centre a button on 1920x1080 x = 1920/2 - (5 + 35*width/10)