[SOLVED] Bug: MyGUI::Edit bug at setOverflowToTheLeft

qwertzui11

26-12-2008 13:29:46

Hi

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

qwertzui11

27-12-2008 17:04:41

@Altren:
@my.name:
Any Idea? To me it seems as if the textlength is invalid.

Markus

my.name

27-12-2008 18:27:01

wait ...

my.name

31-01-2009 21:26:09

update from svn

qwertzui11

08-03-2009 12:57:28

I did and it worked, thx

But at the last rev it isnt working again.
Again with colour the scrollbar does undefineable things and jumps crazy up and down; but only if I use colour.
May u fix it again?

Markus

qwertzui11

14-03-2009 18:21:42

Dont wanna anoy u, but its quite urgent, any idea? Or have I done something wrong?

Markus

Altren

15-03-2009 22:46:47

Trying to fix it... again...

my.name

22-03-2009 14:44:40

update from svn

qwertzui11

04-04-2009 13:08:37

Works perfectly, thx!

Markus