[Kst] extragear/graphics/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Sat Feb 4 20:19:40 CET 2006


SVN commit 505752 by netterfield:

Labels use parent's geometry to select font size.

Reviewed = george (confirmed by phone).



 M  +1 -1      kstviewlabel.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewlabel.cpp #505751:505752
@@ -326,7 +326,7 @@
   if (dirty()) {
     invalidateClipRegion();
     if (_autoResize) {
-      adjustSizeForText(_parent->contentsRect());
+      adjustSizeForText(_parent->geometry());
     } else {
       computeTextSize(_parsed);
     }


More information about the Kst mailing list