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>
Copy link to clipboard
Copied
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