use fitString to size the move coords box
This commit is contained in:
parent
9c0ef03876
commit
f32ddbbf62
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ def _do_move():
|
|||
_poplabel = otk.Label(_popwidget)
|
||||
_poplabel.setTexture(style.labelFocusBackground())
|
||||
_popwidget.show(1)
|
||||
_poplabel.resize(length, font.height())
|
||||
_poplabel.fitString(text)
|
||||
_poplabel.setText(text)
|
||||
area = otk.display.screenInfo(_screen).rect()
|
||||
_popwidget.update()
|
||||
|
|
Loading…
Reference in a new issue