Centering Windows in Window Manager
It is handy to have just a method that centers a windows in the window manager. Usage:
myWindow.SetPositionCentered()
This gets discarded if SetPosition(x, y)
is used. Default position is not centered.
It is handy to have just a method that centers a windows in the window manager. Usage:
myWindow.SetPositionCentered()
This gets discarded if SetPosition(x, y)
is used. Default position is not centered.