-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi Everybody:
I would like to show a big text in a listbox with specific width. Do you know how can i do it ?
Maybe somethink like auto-width listitem property, not listbox property.
This is source code:
<listbox mold="select" rows="1" width="35px" hflex="true"> <listitem label="4"></listitem> <listitem label="7777777777777777777777777777777777"></listitem> <!--when user fires onSelect event, he does not see full string--> <listitem label="9" selected="true"></listitem> <listitem label="8"></listitem> </listbox>
<listbox mold="select" width="55px" fixedLayout="true"> <listitem> <listcell label="4"></listcell><!--It´s OK, small text"--> </listitem> <listitem> <listcell label ="777777777777777777777777777777777777777"></listcell> <!--when user fires onSelect event, he dont see full string--> </listitem> <listitem> <listcell label ="9"></listcell> <!--It´s OK, small text"--> </listitem> </listbox>
Asked: 2012-12-30 20:44:06 +0800
Seen: 42 times
Last updated: Dec 30 '12