I'll give that a try.. On Thu, Mar 18, 2010 at 5:00 PM, P T Withington <[email protected]>wrote:
> From your Venn diagram, here's my proposal on what should _really_ happen: > > Definitions: > > [A] determine whether height is fixed or adjustable > [B] set the LFC height > [C] determine if the height has changed and exit now if it has not > [D] (if not fixed size) size to contents (or resource if no content) > [E] pixellock if necessary > [F] (if fixed size) stretch resource > [G] send the size to the sprite > [H] inform parent of height (if it wants to know) > [I] send the onheight event. > > I think that the 'core' routine is: > > [C][B][D][E][F][G][H][I] > > `<view>/$lzc$set_height` adds [A] to the front of that > > `<view>/updateHeight` will never execute [F], but perhaps should share the > core routine just for simplicity > > And is seems your new operation should really be the equivalent of > `<view>/updateHeight`, except that it can eliminate [G] if there is no > pixellock. > > > > > > > -- Henry Minsky Software Architect [email protected]
