Hi,Crazy Eddie.
I meet a little trouble. When I want to view a long string in the ListBox(I am creating a little chat room),the horizontal scrollbar will auto view so that it can view the string in one line. Can I auto display it in two lines or more and do not display the horizontal scroll bar ? How to set the properties ?
Thanks.
About horizontal scroll bar in ListBox
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: About horizontal scroll bar in ListBox
Hi,
You basically need a custom ListboxItem which splits the text (either using wordwrap formatting, or by inserting newline chars) at appropriate positions. I do not provide this at the moment unfortunately, but it is possible to implement.
CE.
You basically need a custom ListboxItem which splits the text (either using wordwrap formatting, or by inserting newline chars) at appropriate positions. I do not provide this at the moment unfortunately, but it is possible to implement.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Was doing a couple searches through the forums and found this entry, I also would find it usefull to have a wordwrapping listboxitem, especially if it re-wrapped when the listbox changed size.
On my list of todo's but not right now.
Has anyone else allready done work on this that could be easily enough reused?
Scorch.
On my list of todo's but not right now.
Has anyone else allready done work on this that could be easily enough reused?
Scorch.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 2 guests