Skip to content

Centering Windows in Window Manager

Bo Maryniuk requested to merge isbm/cview:isbm-windows-centered into master

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.

Merge request reports