Copy link to clipboard
Copied
I can affect the list part, but not the top selection area using a custom CellRenderer.
I can access that area with mulitline and wordWrap, but I can't seem to locate the necessary label field or I'm just missing something.
What you see in the image is data loaded in via XML inside a CDATA tag with HTML tags to break the two lines.
Any help would be greatly appreciated.
Thank you.
Copy link to clipboard
Copied
You don't really need to use htmlText. You can just add a "\n" in the line that you want to break. As in:
Line one \n Line two.
Copy link to clipboard
Copied
You know something, I tried that, I just ended up seeing the /n in the ComboBox.
I will investigate some more and see if I created some other conflict to keep that from working.
Copy link to clipboard
Copied
Yeah,
I'm still a bit perplexed here. Here is a pic.
Copy link to clipboard
Copied
If the data was internal to Flash or in a text file "\n" will work. From XML you'll need to use this entity "
" without the quotes.
Copy link to clipboard
Copied
Thank you very much for that. Works great now. Still a little dodgy on some the inner workings of the Components, but you really helped me out of a jam.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now