center...
Closed this issue · 1 comments
suifengtec commented
# from qtpy.QtWidgets import QDesktopWidget
def center(self):
qr = self.frameGeometry()
cp = QDesktopWidget().availableGeometry().center()
qr.moveCenter(cp)
self.move(qr.topLeft())
gmarull commented
Not an issue