qwertzui11
26-12-2008 13:29:46
Hi
I've got a MultiLine Edit.
I settet:
I'm adding text:
Because its a chat i'm using multicolour settet per:
and
After adding 1000chars the VScroll gets to the top instead of staying at the bottom. This only happens if Colour is enabled!
To get the VScroll to the bottom I tried
and
Again, with Colour it doesn't work.
Without colour everthing works fine.
I've done a release Version of my game:
http://blub-game.com/beta/blubRelease_0.65d.zip
Just go to LAN and create a new game. Then just chat some lines to the chat, to let the error happen.
Markus
I've got a MultiLine Edit.
I settet:
setEditMultiLine(true);
setOverflowToTheLeft(true);
setMaxTextLength(1000);
I'm adding text:
addText(Ogre::UTFString)
Because its a chat i'm using multicolour settet per:
setTextColour(size_t, size_t, Ogre::ColourValue::red)
and
setTextColour(size_t, size_t, Ogre::ColourValue::blue)
After adding 1000chars the VScroll gets to the top instead of staying at the bottom. This only happens if Colour is enabled!
To get the VScroll to the bottom I tried
setTextCursor
and
setTextAlign(MyGUI::ALIGN_LEFT_TOP)
Again, with Colour it doesn't work.
Without colour everthing works fine.
I've done a release Version of my game:
http://blub-game.com/beta/blubRelease_0.65d.zip
Just go to LAN and create a new game. Then just chat some lines to the chat, to let the error happen.
Markus