- _popwidget.update()
- area = otk.display.screenInfo(_screen).rect()
- _popwidget.move(area.x() + (area.width() -
- _popwidget.width()) / 2,
- area.y() + (area.height() -
- _popwidget.height()) / 2)
+ scsize = otk.display.screenInfo(_screen).size()
+ size = _poplabel.minSize()
+ _popwidget.moveresize(otk.Rect((scsize.width() - size.width()) / 2,
+ (scsize.height() - size.height()) / 2,
+ size.width(), size.height()))