Page 1 of 1

[SOLVED] exception adding MultiColumnList

Posted: Tue Jul 15, 2008 07:28
by wally
I'm trying to add a MultiColumnList in the layout editor.

But I always get this exception: (taken from log)

Code: Select all

Exception Location: EditorDocument::GetRelevantProperties
Exception Message: ListHeader::getSortSegment - Sort segment was invalid!  (No segments are attached to the ListHeader?)
Exception Filename: \Temp\CEGUI-0.6.1-vc7\src\elements\CEGUIListHeader.cpp


Parent is a DefaultWindow, latter's parent is the initial Root.

Using layout editor v0.6.1, downloaded binary stable release.
My setup: using Taharez scheme etc that distribute with OGRE, which I think uses CEGUI 0.5.1 as dependency.

Is my setup at fault?

Otherwise is there a way around this?
Can I setup the minimal structure by hand in XML then edit in Layout editor?

Thanks

Re: exception adding MultiColumnList

Posted: Tue Jul 15, 2008 08:46
by CrazyEddie
Hi, and welcome :)

I just tested this, and I get the same - so it looks like a bug, so thanks for that :)

wally wrote:Can I setup the minimal structure by hand in XML then edit in Layout editor?

Yeah, that's certainly a valid approach. You just need to specify the MCL window and probably it's size and position, plus specify at least one column, and it should work ok then.

Sorry for the inconvenience ;)

CE

Posted: Tue Jul 15, 2008 10:51
by wally
I'll give that a shot. Thanks for the response.

Posted: Sat Aug 30, 2008 12:56
by scriptkid
It's been a while, but this issue has been fixed on the CEGUI side. (As in not the editor). It's available in the 0.6 branche (svn).