like the thread said: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=5213
Things go like this:
setText --> FalagardStaticText::onTextChanged --> configureScrollbars :
in configureScrollbars,
1. getDocumentSize() will call FormattedRenderedString::format(), under the old renderArea;
2. scrollbar visibility is updated;
3. new renderArea is calculated; if the new renderArea is smaller than old one, the renderedString will be clipped.
my quick fix is :
if the new renderArea differs with old one,
then add updateFormatting() after new renderArea is calculated;
Well, I'm not sure if this is the best solution but it seems to work for now
StaticText VertScrollbar over Text
Moderators: CEGUI MVP, CEGUI Team
Re: StaticText VertScrollbar over Text
Thanks for spotting this, I wonder if it's in mantis already :-/
Re: StaticText VertScrollbar over Text
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 8 guests