0 Replies Latest reply on May 2, 2010 2:39 AM by BorekB

    Is this a sizing bug in Flex 4?

    BorekB Level 1

      I have a form like this:


          <mx:Form width="400">
              <mx:FormItem id="myFormItem" label="My label:" width="100%">
                  <s:Label width="100%" text="Sample text here. This label should wrap but it doesn't (it is being clipped). Change to absolute width fixes it." />
              <mx:FormItem label="Test input:">
                  <s:TextInput />



      The result is that the label is clipped instead of word-wrapped. Changing the label width to an absolute size fixes it but that's not the behavior I'd like to achieve. As the percentage should be internally converted to absolute size anyway, isn't this actually a Flex 4 bug? Or am I doing something wrong?