0

Extra space characters in Listcell (listbox)

asked 2011-02-28 07:57:05 +0800

andreasboos gravatar image andreasboos
105 3

Hi.

Do not know if it's an isolated problem, or something that let you set up correctly :)

We use extra spaces in some string values, but these characters are not rendered in listcell (listbox).

How do I show the extra spaces?

I try to use   and \u0020 but don't work too.


I looked for an option on Listcell and saw nothing.


Thanks.

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2011-02-28 10:52:01 +0800

twiegand gravatar image twiegand
1807 3

andreasboos,

Try using   for each extra space you want.

Regards,

Todd

link publish delete flag offensive edit

answered 2011-03-01 06:38:54 +0800

andreasboos gravatar image andreasboos
105 3

Hello

Thanks for the help.
But for listCell not resolved. Searching the forum I found a topic on just about this same subject, but for the Label component, and found that there exists an option to preserve the spaces (setPre (true)). In Listcell not have, but I added the CSS "white-space: pre;" and resolve the problem.


Thanks.

link publish delete flag offensive edit

answered 2011-03-01 09:21:33 +0800

twiegand gravatar image twiegand
1807 3

updated 2011-03-01 09:22:33 +0800

andreasboos,

Evidently I must have mis-understood your question because I thought you wanted to add spaces in the string values for <listcell>. In that case, using &#160; does indeed work.

Sorry.

Todd

link publish delete flag offensive edit
Your reply
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: 2011-02-28 07:57:05 +0800

Seen: 191 times

Last updated: Mar 01 '11

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