1 Reply Latest reply on Dec 19, 2009 3:02 PM by Shongrunden

    Constraint-based Form Elements

    John Hall Level 4

      I can't seem to get form controls like textinput to resize with the AIR window. I can get the layout options in design mode if I put them within a <s:Group> container but the controls don't seem to resize even if I have the form width at 100% and the group container at 100%. Ideas?

        • 1. Re: Constraint-based Form Elements
          Shongrunden Adobe Employee

          Are you specifying constraints on the TextInput using left=0, right=0?  If so, does it work if you specify width="100%" on the TextInput instead?

           

          My hunch is the TextInput is in a Group with a VerticalLayout or HorizontalLayout (top/left/right/bottom constraints aren't currently respected in VerticalLayout and HorizontalLayout)