Hi!

I have a problem with FormItem's label sizing with Flex 3. See the following
snippet:

...
    <mx:Form id="vocabularyKeyValueForm" width="100%" height="100%">
        <mx:FormItem id="keyLabel" required="true">
            <mx:SomeComponent/>
        </mx:FormItem>
        <mx:FormItem id="valueLabel">
            <mx:SomeComponent/>
        </mx:FormItem>
    </mx:Form>
....


The snippet is in a Title Window ( a popup opening from another popup). In
commitProperties I set the labels for the FormItems. For some reason this
worked fine with Flex 2 but does not seem to work anymore with Flex3. The
labels do no appear (even though they are set which was confirmed with the
debugger). This seems to be a sizing issue, the labels do not get sized
properly, since if I set some labels to the items in mxml and set them again
inside commitProperties, then correct labels appear, but are too small to
fit (even though there is plenty of room on the form).

I've tried to invalidate sizes, set widths to 100%, with no widths
specified. Nothing seems to work.

Any suggestions how to fix this?

--
Mika

Reply via email to