Is the size of the label actually being set? - Daniel Freiman
On Fri, May 30, 2008 at 11:18 AM, fb6668 <[EMAIL PROTECTED]> wrote: > Hi, I've extended the Panel container, and would now like to add a > second text field to the header. > > I currently have code which has added am expand/contract button to the > header, using: > > rawChildren.addChild(btStateUp); > rawChildren.addChild(btStateDown); > > but when I try to add a label, as follows, nothing is displayed: > > in createChildren(): > > lblTotal = new Label(); > lblTotal.text = "£200**"; > rawChildren.addChild(lblTotal); > > and in updateDisplayList(): > > lblTotal.move(unscaledWidth - lblTotal.width - 10, y); > > Can anyone shed any light why it's not showing? I can include the > whole script if required, but it's based on MaxRestorePanel which is > in the FlexGrocer app. > > Thanks! > > >

