how to align a button at the center using tkinetr code example Example: tkinter centre a button on 1920x1080 x = 1920/2 - (5 + 35*width/10)