Page 1 of 1

CELayoutEditor - Dynamic Property Finder?

Posted: Tue Nov 11, 2008 16:42
by Jamarr
So we already have some code up on the Wiki to locate properties for any widget via a PropertyFinder here: http://www.cegui.org.uk/wiki/index.php/PropertyFinder

However, the CELayoutEditor uses a fairly simple approach of just listing a bunch of properties (and their type) to look for in it's ini file. The problem with this is that a lot of properties go unnoticed because this list is far from complete. Instead, why not just have the CELayoutEditor use code based on the PropertyFinder to dynamically create a list of all properties available for the selected scheme, and use that list to populate the property window for the current element? This has the obvious benefit of making the CELayoutEditor far more robust than it currently is regarding properties.

This idea basically came about because of this thread here: http://www.cegui.org.uk/phpBB2/viewtopic.php?t=3665

The StaticText control's VertScrollbar and HorzScrollbar properties are 'off' by default. Because this property is not available in the CELayoutEditor (by default), nor are properties for falagard elements listed in the falagard docs, it makes it difficult for users to track down problems like this without having to ask for help on the forums.

Posted: Thu Mar 19, 2009 10:05
by scriptkid