Page 1 of 1

Widget names auto prefix

Posted: Sun Dec 30, 2012 22:40
by Krismu
Hi,

I'm new to CEED, I was using CELayoutEditor 0.7.1 until now.

I noticed that widgets names are now automatically prefixed with the "path" from hierarchy widgets. This is NOT the case in the "code" tab in the editor but the saved layout file contains full paths for widgets.

This is quite a problem for me as I am used to use short names in my application for a lot of UI I've created until now and I would prefer to keep this logic.

Is there a parameter somewhere that could prevent this for happening ? Or am I forced to edit each layout file aftewards to delete prefixes ?

Thank you for your help,
K.

Re: Widget names auto prefix

Posted: Tue Jan 01, 2013 21:43
by Kulik
This is caused by the relative name change in CEGUI 1.0. The compatibility layer deals with this by prefixing everything.

Right now I am not sure how to deal with this. It should be fairly easy to add that as a checkbox somewere in settings. I will think about it.

Re: Widget names auto prefix

Posted: Wed Jan 02, 2013 23:22
by Krismu
Hi,

Thanks, I will have to make replacements in the XML file then.

I also noticed that the source preview tab displays invalid xml source due to lack of upper cases of parameters names.

Great tool anyway, thanks for doing it :)

Re: Widget names auto prefix

Posted: Thu Jan 03, 2013 09:55
by Kulik
Read the manual please :) There is a damn good reason for this behavior.