StaticText VertScrollbar over Text

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
FTC
Just popping in
Just popping in
Posts: 8
Joined: Sat Oct 02, 2010 09:35

StaticText VertScrollbar over Text

Postby FTC » Fri Oct 22, 2010 19:13

Hi,

I have a statictext window and set the VertScrollbar property to true. Now the Scrollbar appears when the text is too long, that's how it should be, but..
The scrollbar is drawn over the text, or said differently, the text is not wrapped correctly.
Image
(Red bars next to the static text)
Also I would like the scrollbar to be vertically centered.

I already searched the forums and tried casting the window into a scrollablepane and set the contentArea property, but it says "There is no property named 'Content Area' available in this set" and then the application crashes.

What can I do?
greetings

User avatar
FTC
Just popping in
Just popping in
Posts: 8
Joined: Sat Oct 02, 2010 09:35

Re: StaticText VertScrollbar over Text

Postby FTC » Mon Oct 25, 2010 16:11

I found a hotfix, when I use setText the first time, the scrollbar appears, but the text is croped by it. When I use setText with the scrollbar already visible, the text is wrapped correctly. Without any space between the scrollbar and the text, but at least it is not hidden by the scrollbar. Still isn't there a better way?

greetings


Return to “Help”

Who is online

Users browsing this forum: No registered users and 28 guests