show the widget after moving it
This commit is contained in:
parent
fd96ddd82e
commit
6eae9223a1
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,6 @@ def _do_move():
|
|||
_popwidget.setTexture(style.titlebarFocusBackground())
|
||||
_poplabel = otk.Label(_popwidget)
|
||||
_poplabel.setTexture(style.labelFocusBackground())
|
||||
_popwidget.show(1)
|
||||
_poplabel.fitString(text)
|
||||
_poplabel.setText(text)
|
||||
area = otk.display.screenInfo(_screen).rect()
|
||||
|
@ -124,6 +123,7 @@ def _do_move():
|
|||
_popwidget.width()) / 2,
|
||||
area.y() + (area.height() -
|
||||
_popwidget.height()) / 2)
|
||||
_popwidget.show(1)
|
||||
|
||||
def move(data):
|
||||
"""Moves the window interactively. This should only be used with
|
||||
|
|
Loading…
Reference in a new issue