1 Reply Latest reply on Jan 30, 2011 12:03 AM by Flex harUI

    How to know the Performance effect when swapping or changing  Containers ??

    kiran7881 Level 1

      Hi ,

       

      As part of Custom Item Renderer to a DataGridColumn , i am having this code below :

       

      <mx:HBox id="jai">
              <mx:Image source="images/canvas.png" visible="true" height="100%" width="100%"/>
              <mx:Label id="kkk"  text="Pavan"/>
              <mx:Button label="Edit" click="openPopUpWindow()"/>
          </mx:HBox>

       

       

       

      But unfortunately , this doesn't give me a pleasant look , so i decided to use Panel
      instead of HBox  , Means this way

       

      <mx:Panel id="jai">
              <mx:Image source="images/canvas.png" visible="true" height="100%" width="100%"/>
              <mx:Label id="kkk"  text="Pavan"/>
              <mx:Button label="Edit" click="openPopUpWindow()"/>
          </mx:Panel>

       

       

       

      I am also worried about the Performance of the Application at the same time  .
      Please tell me as  how can i know or confirm that Changing the Container from HBox to Panel
      didn't affected anything performance wise or not ??

       

      Thanks .