1 Reply Latest reply on Apr 20, 2011 7:10 AM by learner_doug

    how to make <s:Panel> middle in Flex4

    rodphoenix

      When I use <mx:Panel>,I find <mx:Panel> replaced by <s:Panel>.I can make <mx:Panel> middle by using following parameter:

      paddingTop="10"

      paddingLeft="10"

      layout="vertical"

      horizontalAlign="center"

      verticalAlign="middle"

       

      Then I use <s:Panel>,but I don't know how to make <s:Panel> middle both horizon and vertical. How to do it?

      Thanks.