0 Replies Latest reply on Jul 29, 2006 7:54 PM by Newsgroup_User

    Centering an Image in a Form?

    Level 7
      Hi..

      I have a form with standard label / input controls but at the top of the
      form I want an image. I have my image tag like this:

      <mx:Image horizontalAlign="center"
      source="images/logoSeaSpraySoftware.gif"/>

      and it looks fine in the layout, but when I run my app one of my combo boxes
      expands because of the length of the entry but my images stays to the left.

      If I put my <mx:Image> inside an <mx:FormItem> tag then the image is moved
      over because of the width of the labels of the other form elements. I tried
      setting LABELWIDTH="0" but that didn't work.

      Any ideas?


      Rich