Hi Frank,

well I assume you have a component that contains the Input field. If you want 
the Input field to expand to 100% of the parent but not blow up the parent, 
using right="0" and left="0" instead of width="100%" should do the trick.

Chris

________________________________________
Von: Frank Dahmen [[email protected]]
Gesendet: Donnerstag, 14. November 2013 16:31
An: [email protected]
Betreff: Re: Textinput in HGroup -> width

thanks,
do you mean the HGroup or the textinput where not to set the width?
the parent of the HGroup is a VGroup.....
left  and right in a HGroup (VGroup) works???

(asking because i can't test it directly, it's mobile , on my phone it's
ok but on another (not here) the textipnut is too big)




Am 14.11.2013 16:20, schrieb [email protected]:
> Hi Frank,
>
> Instead of width="100%" set left and right to 0 ... at least this is how I 
> usually do it.
>
> Chris
>
> ________________________________________
> Von: Frank Dahmen [[email protected]]
> Gesendet: Donnerstag, 14. November 2013 16:17
> An: [email protected]
> Betreff: Textinput in HGroup -> width
>
> Hi,
>
> with this mxml the TextInput is too large
> also if i set the width of the TextInput to 100%
>
> how can i tell the textinput to take only as much space as available (in
> the parent of the HGroup)?
>
>
> <s:HGroup width="100%" paddingRight="10">
>        <s:TextInput skinClass="spark.skins.mobile.TextInputSkin" />
>       <s:Button  width="50"  height="50"/>
> </s:HGroup>
>
>
> Thanks

Reply via email to