[Kst] extragear/graphics/kst/kst
Barth Netterfield
netterfield at astro.utoronto.ca
Tue Jan 31 02:05:59 CET 2006
SVN commit 504000 by netterfield:
Partially fix auto-resize labels.
Reviewed (on the phone) by George.
M +1 -1 kstviewlabel.cpp
M +1 -1 kstviewlegend.cpp
--- trunk/extragear/graphics/kst/kst/kstviewlabel.cpp #503999:504000
@@ -325,7 +325,7 @@
void KstViewLabel::updateSelf() {
if (dirty()) {
if (_autoResize) {
- adjustSizeForText(contentsRect());
+ adjustSizeForText(_parent->contentsRect());
} else {
computeTextSize(_parsed);
}
--- trunk/extragear/graphics/kst/kst/kstviewlegend.cpp #503999:504000
@@ -250,7 +250,7 @@
void KstViewLegend::updateSelf() {
if (dirty()) {
- adjustSizeForText(contentsRect());
+ adjustSizeForText(_parent->contentsRect());
drawToBuffer();
}
KstBorderedViewObject::updateSelf();
More information about the Kst
mailing list