Alex,

> In fact, I'd make a copy of LIR and rename it and erase the guts of
> createChildren, commitProperties, measure, and updateDisplayList. You
> shouldn't need to touch getters/setters of data/listData.
Should I call super.methodName() on the ones I am overriding?
>
> Create the textfields in createChildren.
>
> Stuff the .text properties from the data object in commitProperties
>
> Calc measuredHeight in measure() something like this:
>
> Override protected function measure()
> {
> Tf1.width = explicitWidth * .2;
> Tf2.width = explicitWidth * .8;
> measuredHeight = Math.max(tf1.textHeight, tf2.textHeight);
> measuredHeight += (some padding)
> }
>
> Set their final positions in UDL
>
> Good luck. This is hairy-level-one so there are no dumb questions.
Thanks! I'm in this to win it!

OK
DAH

Reply via email to