From f32ddbbf628b6a27bf2a85f9e98c70e2661c3a1d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 30 Jan 2003 23:33:53 +0000 Subject: [PATCH] use fitString to size the move coords box --- scripts/motion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.45.2