flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "christofer.dutz@c-ware.de" <christofer.d...@c-ware.de>
Subject AW: Textinput in HGroup -> width
Date Thu, 14 Nov 2013 15:40:27 GMT
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 [frank@dahmenia.de]
Gesendet: Donnerstag, 14. November 2013 16:31
An: users@flex.apache.org
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 christofer.dutz@c-ware.de:
> 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 [frank@dahmenia.de]
> Gesendet: Donnerstag, 14. November 2013 16:17
> An: users@flex.apache.org
> 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
Mime
View raw message