RE: [flexcoders] Custom UIComponent creating problem

2006-08-15 Thread Gordon Smith
A general rule in Flex layout management is that children get positioned and sized by their parents. I suspect that the reason you don't see anything is that item_button has a width and height of 0 by default. If you extend UIComponent, then it is your responsibility to position and

Re: [flexcoders] Custom UIComponent creating problem

2006-08-15 Thread Michael Schmalle
Gordon;Opps my bad; to early in the morning;I read to much into this,He needed item_button.label = As;override protected function updateDisplayList({ super.updateD ... item_button.move(0, 0); item_button.setActualSize( item_button.measuredWidth, item_button.measuredHeight); Heh, sorry