One way to solve your problem is to position the dots behind your label and
make the backgrounds of your labels opaque so that your labels cover part of
the dots and give the appearance that the dots extend from one label to
another.

1) Add a label containing just "............................", as long as
the width available for the two labels.
2) Add your two labels so that they're positioned on top of the above label.
3) Set the opaqueBackground color of your labels to 0xFFFFFF (or whatever is
the right background color)

Hope this helps,
Jayant

On Tue, Feb 23, 2010 at 1:55 PM, Ariel J <[email protected]> wrote:

>
>
> I could really use some help with this one.
>
> I have an item renderer consisting of two labels, positioned horizontally.
>
> I want to fill the distance between them with "....", for example:
>
> Car.........$40,000
> House......$400,000
>
> Any ideas how to do this?
>
> Also, there is the caveat that I draw the "..." in a way that matches the
> "..." from Flex truncating the first item.
>
> I am using Spark Label Components, which matters because I can't change the
> truncationText anymore without affecting all Labels in the app (who decided
> to change this on the flex team i have no idea or why!).
>
> Thanks all.
>
> 
>



-- 
main(){int
j,i=0;for(;i<54;++i%18==0?putchar(10):i)putchar((j="b`bxb]]0xxb]xb]b`b:QAabR^`wabRQ1Q;Q/bw>w2^<_...@w3^^=^?_"[i])<66?32:j+98);}

Reply via email to