Are there any libraries out there which will help me style a Flex application without going insane?
For example, is there any "accepted" way to set an element's size/position without hard-coding it into each element?
Are there any libraries out there which will help me style a Flex application without going insane?
For example, is there any "accepted" way to set an element's size/position without hard-coding it into each element?
You can use VBox and HBox components that layout the children either vertically or horizontally. I would avoid nesting this too much because it will affect your applications performance.
The width, height and position of elements are not styles, they are properties. Unfortunately they can't be set via a stylesheet.
What you could do is extend one of the Container classes and override the childrenCreated() method, access the elements in the "children" Array and set the values you want.