0

How Can I show a big text in a listbox mold = select with an specific width

asked 2012-12-30 20:44:06 +0800

lnxgarcia522 gravatar image lnxgarcia522
12

updated 2012-12-30 20:45:04 +0800

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>


Or

<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>


Please give me an idea.

Thanks

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-12-30 20:44:06 +0800

Seen: 42 times

Last updated: Dec 30 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More