Comment ajouter une bordure à un Flex VBox
? Mon VBox
est le moteur de rendu d'un List
. Je l'ai essayé ce qui suit sans succès (en particulier VBox
« s borderVisible="true" borderStyle="solid" borderColor="0x888888"
):Bordure Flex VBox
<mx:List id="myList" dataProvider="{myData}"
width="100%" height="100%"
variableRowHeight="true"
verticalScrollPolicy="auto" horizontalScrollPolicy="auto">
<mx:itemRenderer>
<mx:Component>
<mx:VBox
width="100%" height="100%"
verticalScrollPolicy="off" horizontalScrollPolicy="off"
borderVisible="true" borderStyle="solid" borderColor="0x888888">
<mx:HBox width="100%">
<mx:Label id="firstNameLabel" text="{data.firstName}"/>
<mx:Label id="lastNameLabel" text="{data.lastName}"/>
</mx:HBox>
<mx:Text id="descriptionLabel" text="{data.description}"/>
</mx:VBox>
</mx:Component>
</mx:itemRenderer>
</mx:List>
mais cela ne fonctionne qu'avec le thème halo. – subash