[Kst] [Bug 120884] Text view object resize behaviour is incorrect in some cases
Andrew Walker
arwalker at sumusltd.com
Fri Jan 27 22:39:22 CET 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=120884
------- Additional Comments From arwalker sumusltd com 2006-01-27 22:39 -------
Proposed patch for this problem.
Index: kstviewlabel.cpp
===================================================================
--- kstviewlabel.cpp (revision 503013)
+++ kstviewlabel.cpp (working copy)
@ -73,7 +73,7 @
reparse();
computeTextSize(_parsed);
setDirty(false);
- _autoResize = true;
+ setAutoResize(true);
}
@ -114,7 +114,7 @
n = n.nextSibling();
}
- _autoResize = in_autoResize;
+ setAutoResize(in_autoResize);
}
@ -491,6 +491,7 @
void KstViewLabel::setAutoResize(bool on) {
_autoResize = on;
+ _isResizable = !on;
}
More information about the Kst
mailing list