Yes, it sounds like updateHeight should maintain the cache.
Regardless it sounds like the view/sprite API needs a way to update
sizes without changing hassetheight...
On Mar 16, 2010, at 2:12 PM, Henry Minsky <[email protected]>
wrote:
The bug in LPP-8591 with autosizing the height of a multiline input
text seems to be due to the
LzInputText.inputtextevent method calling the setter for height.
Passing a non-null value to the height setter on LzView causes the
hassetheight flag to get set, and
then the autosizing behavior is disabled.
So in this case I need an internal API call to set the height but
not toggle the hassetheight flag.
In LzView there is an updateHeight method that does almost what I
need, but it does not maintain
the memoized height cache. I was wondering if updateHeight ought to
be setting __set_height_memo
when it runs?
--
Henry Minsky
Software Architect
[email protected]