• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

halo form and formItem have a bug in the label?

New Here ,
Jun 03, 2010 Jun 03, 2010

Copy link to clipboard

Copied

hey guys... so i htink this is a bug... not sure tho... all im trying to do is add a form to my BorderContainer... and for some reason when i have

<formItem label="Image Id"><TextInput /></formItem>

all i see is "U..." instead of "User Name" as the label... any ideas on how to fix this??

this same problem happens again when i try to use a link button, but when i hover over the link button then i can see the whole word...

I have the following code if you want to replicate the bug..

<s:Group width="100%" height="100%">
     <s:PopUpAnchor id="detailsPanel" popUpPosition="below" styleName="popUpBox">
     <s:BorderContainer width="793" height="700">
          <s:backgroundFill>
          <s:SolidColor color="#ffffff" />
       </s:backgroundFill>
       <mx:Form labelWidth="100">
            <mx:FormItem label="User Name">
               <mx:TextInput id="userNameInput"/>
            </mx:FormItem>
            <mx:FormItem label="Password">
               <mx:TextInput id="passwordInput"/>
            </mx:FormItem>
            <mx:FormItem label="Re-enter Password">
               <mx:TextInput id="rePasswordInput"/>
            </mx:FormItem>
          </mx:Form>
        </s:BorderContainer>
     </s:PopUpAnchor>
</s:Group>

Views

429

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 09, 2010 Jun 09, 2010

Copy link to clipboard

Copied

LATEST

Hi,

It looks to me like truncation which is a feature of any component which extends from TextBase class. Truncation occurs when the container width is lesser than that of the text.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/TextBase.html?filter_flex=4#isTruncated

This should give some more info on truncation. I am not really sure. But I suspect there is something about the widths of the parent containers which is causing this to happen for u. I'm just hazarding a guess. Hope this helps

Nishad

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines