In my application using the latest Flex on WinXP, my button components resize well only when they have to grow up. When I reduce the window, components never reduce their size.
The problem occurs only when I use a skin for the Application. The contentGroup fails to reduce its size.
Code from the Skin:
left="15" right="15" top="15" bottom="15" >
Code from the Application:
<toolbar:ApplicationMainButtons id="mainButtons" width="100%" height="11%" />
Where could be the problem please?
Set minWidth/minHeight on the components and containers you want to shrink
Does your Application have a minimum size set on it? The default template in Flash Builder generates this:
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
If you have something similar then try removing those min sizes or updating them to a smaller more appropriate value for your application.
The problem was present despite the fact that those values was set to 10.
Setting minWidth and minHeight to zero for the components that couldn't resize correctly solved the problem.
Thanks for your help!