It seems that StaticText will not render empty lines.
e.g.: A\n\nB, the empty line will be missing
I gave it a quick dirty fix on RenderedString::getPixelSize(size_t), when the returned height for this line is near zero, I just change the height to 10.f;
it might be better to use current font's height to fill the gap, but our designer seems to be content with 10 pixels so this dirty fix will do, for now.
StaticText ignores empty line
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: StaticText ignores empty line
Kulik's been mentioning this recently too
We will add it to mantis and fix it soon
CE
We will add it to mantis and fix it soon
CE
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: StaticText ignores empty line
Glad to know, looking forward to new release.
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 5 guests