Maybe set a minWidth on the SkinnableContainer or its parent.
On 6/11/10 8:15 AM, "Wally Kolcz" <[email protected]> wrote: And how would you combat this? I have a normal AIR application that just launches and then goes full screen. On 6/10/2010 1:18 PM, Alex Harui wrote: I would recommend debugging into it and checking dimensions. The SkinnableContainer’s parent may be momentarily of an unexpected size. On 6/10/10 10:13 AM, "Wally Kolcz" <[email protected]> wrote: Ok, interesting...where would the width compute to 0? Its attached to a SkinnableContainer that is well larger than that. It is set to 35px tall by 100%. The applications minimum width is 800..nowhere near a 0. On 6/10/2010 1:07 PM, Alex Harui wrote: It is the ButtonSkin that is throwing the error. Usually this is because it has been squeezed too much. If the Container’s width computes to 0, then the layout padding will compute the button’s width as a negative number. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui

