flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: AW: Textinput in HGroup -> width
Date Thu, 14 Nov 2013 16:00:01 GMT
That may work in many cases, but it looks like he has an Hgroup with a
button on the right, so I'm not sure it will work here.

Setting textInput's width="100%" should work.  You may also need to add to
TextInput a minWidth="0" or some useful small number.


On 11/14/13 7:40 AM, "christofer.dutz@c-ware.de"
<christofer.dutz@c-ware.de> wrote:

>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.
>Von: Frank Dahmen [frank@dahmenia.de]
>Gesendet: Donnerstag, 14. November 2013 16:31
>An: users@flex.apache.org
>Betreff: Re: Textinput in HGroup -> width
>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

View raw message