]> Dogcows Code - chaz/openbox/commitdiff
use fitString to size the move coords box
authorDana Jansens <danakj@orodu.net>
Thu, 30 Jan 2003 23:33:53 +0000 (23:33 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 30 Jan 2003 23:33:53 +0000 (23:33 +0000)
scripts/motion.py

index 1c854eccb5d091043dac5aee5a23211acbb53c95..b5cc279f936dcd2506fbd0e71f30bf69c12131dd 100644 (file)
@@ -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() 
This page took 0.025291 seconds and 4 git commands to generate.