Wednesday, May 28, 2008

Flex 3 Style headaches

Well moving an app from Flex 2 to 3 is pretty straight forward. Your almost certain it will work but will it look the same? Well yes it will... but then you look closer and you start to see tiny differences. One difference is how the borderSides style property is implemented for the Container Class. I don't directly use the Container class but through the TitleWindow class. What occurs is that even if you specify borderSides="left" it will render all four borders but only fill in the left. So you have three borders of a blank style and one of what you want. Which has the appearance of adding padding to the top, bottom, right sides of the Container.

This annoy since the borderSides style property is useless.

No comments: