2 Replies Latest reply on Feb 28, 2008 10:44 AM by Shelady

    Simple VBox problem. Image and text layout

    Shelady
      In a VBox I want an image on the left and text to the right .After creating the vbox and inserting
      image when I am trying to put text area or label on the right side of the image, it does not allowing
      me to do so. The text is either moving to the upper part of the image or the lower part of the image.

      I want the text to be right in front of the image. How do I archive it. Following is my code.

      Thanks

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="vertical">
      <mx:VBox width="523" height="321">
      <mx:Image width="179" height="158"/>
      <mx:TextArea/>
      </mx:VBox>

      </mx:Application>