Hi.
There is a FormattedListboxTextItem class in the forum topic:
viewtopic.php?f=10&t=4322
It's very useful but I've encountered a bug with it. On Release configuration of VS2008 items are lost sometimes.
To fix this, just add
d_formattingAreaSize(0, 0)
to member initialization in constructor. May be this will help someone.
Bug in FormattedListboxTextItem
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Bug in FormattedListboxTextItem
Cool. It probably would have been better to post in that other topic? To keep the fix with the original code
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Bug in FormattedListboxTextItem
Probably it would But that topic was about another things, not entirely or even mainly about FormattedListboxTextItem class, so I decided not to necropost to it. If you think fix should reside there please add it there or say me and I will do it. Maybe the best way is to edit original post with code.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Bug in FormattedListboxTextItem
I have edited the code in the original post. Thanks
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Who is online
Users browsing this forum: No registered users and 9 guests