[Kst] [Bug 120884] Text view object resize behaviour is incorrect in some cases
George Staikos
staikos at kde.org
Fri Jan 27 22:42:06 CET 2006
Untested, but looks good to me. If it works for you, please commit to trunk.
On Friday 27 January 2006 16:39, Andrew Walker wrote:
> ------- 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;
> }
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst
mailing list