[SOLVED] exception adding MultiColumnList

Use this forum for:
- Discussion regarding unofficial CEGUI related tools, scripts and utilities.
- User to user help for the obsoleted CELayoutEditor and CEImagesetEditor tools.

Moderators: CEGUI MVP, CEGUI Team

wally
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 09, 2008 09:45
Location: Canberra, Australia

[SOLVED] exception adding MultiColumnList

Postby wally » Tue Jul 15, 2008 07:28

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: exception adding MultiColumnList

Postby CrazyEddie » Tue Jul 15, 2008 08:46

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

wally
Just popping in
Just popping in
Posts: 20
Joined: Wed Jul 09, 2008 09:45
Location: Canberra, Australia

Postby wally » Tue Jul 15, 2008 10:51

I'll give that a shot. Thanks for the response.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Sat Aug 30, 2008 12:56

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).
Check out my released snake game using Cegui!


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 4 guests