use fitString to size the move coords box
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
scripts/motion.py
→
scripts/motion.py
@@ -95,7 +95,7 @@ _popwidget.setTexture(style.titlebarFocusBackground())
_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()