I'm having the same issue. I just switched from the 2.0.1 SDK to the 3.1 SDK and now my FormItem labels are not displayed. I verified that they are set using the debugger. This seems like it would actually be a problem with the Form control, as it's responsible for measuring and laying out children. Any thoughts?
--- In [email protected], "Mika Kiljunen" <[EMAIL PROTECTED]> wrote: > > 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 >

