summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-30 23:33:53 +0000
committerDana Jansens <danakj@orodu.net>2003-01-30 23:33:53 +0000
commitf32ddbbf628b6a27bf2a85f9e98c70e2661c3a1d (patch)
treed8d0016015129365fcce0927699425c83a6e506f
parent9c0ef0387614220fb025aeb492b28b1929750735 (diff)
use fitString to size the move coords box
-rw-r--r--scripts/motion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/motion.py b/scripts/motion.py
index 1c854ecc..b5cc279f 100644
--- a/scripts/motion.py
+++ b/scripts/motion.py
@@ -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()