Thanks, that worked :)

----- Original Message ----- From: "Evyatar Ben Halevi-Arbib" <evyata...@gmail.com>
To: <users@flex.apache.org>
Sent: Saturday, August 31, 2013 7:29 AM
Subject: Re: Label does not get truncated in FormItem


1. Add to the label maxDisplayedLines="1" (and consider also
showTruncationTip="true").
2. Add width="100%" on Form, FormItem and the Label itself (or limit all of
them with some other value).

Good luck,
Evyatar


On Sat, Aug 31, 2013 at 8:21 AM, Frank Dahmen <fr...@dahmenia.de> wrote:

Hi,
in a mobile project i have:

<s:VGroup width="100%" paddingLeft="25" paddingRight="25">
  <s:Form>
      <s:FormItem label="label">
          <s:Label text="{longText}" />
     </s:FormItem>
 </s:Form>
</s:VGroup>


the Label is not truncated even if i set Form or ForrmItem to a small
width like width="100"

it is also not clipped at the supposed width, like it has no bounds at all

what I'm doing wrong?

Thanks






Reply via email to