Hi All! Why should I make VBox width 4 pixels more than actual image width, but keep its height the same as actual image height in order to make 2 pixels border around the image when either mouse overing the item or selecting it?
<mx:TileList width="100%" height="100%" dataProvider="{_dataProvider}"> <mx:itemRenderer> <mx:Component> <mx:VBox width="54" height="50" horizontalAlign="center" horizontalScrollPolicy="off" verticalScrollPolicy="off"> <mx:Image width="50" height="50" source="{data.image}" /> </mx:VBox> </mx:Component> </mx:itemRenderer> </mx:TileList> Thank you in advance! Regards, Sergey. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/