I have a mx.components.List component with a bunch of custom styles:
<mx:Style> .dropDownListStyle { border-style: solid; corner-radius: 4; } </mx:Style>
I create a list in AS:
_dropDown = new List(); ... _dropDown.styleName = "dropDownListStyle";
Then the list is added as a popup using PopUpManager:
PopUpManager.addPopUp( _dropDown, this );
The problem is that the corners of the newly created popup are not rounded. I found that the border style is necessary in order to get the effect, but adding this property did not help. I am creating a project using Flex 4.1, but List and its parent components are MX, and there is a lot of work to port them to Spark.
Any ideas how I can get rounded corners? Thanks in advance!
source share