I am reading up on Flex styles tonite for work. Flex has a precedence for the application of styles. From greatest to least
Instance style set with setStyle
Inline style
Class selector set with StyleManager
Class selector set with stylesheet
Type selector set with StyleManager
Type selector set with stylesheet
global styles
You should be able to control styles entirely using css files using class and type selectors.
Flex supports both hyphenated (traditional css) and camel case style property names in css - it converts hyphenated style property to camel case behind the scenes). This should help with having a common css for a hybrid app.
Tuesday, June 16, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment