Property grid view
Posted: Thu Sep 08, 2005 04:14
I've added a new patch that creates a window that lists all properties in a 2xN grid, similar to the .NET style we discussed previously. Clicking on a new widget refreshes the list, and changing any field updates the property back into cegui.
Bools and Absolute/Relative/Inherited values use a drop down list, the other fields can be typed in. It resizes itself fairly well, except that the columns don't resize when the window is resized - that is because hooking up an event listener to the window resize caused the sizers to stop working.
Multiple selection is supported. If more than one widget is selected, entries which are identical are shown normally. If a value differs across the selection the field is left gray and blank - typing a value in the field will set the value for all widgets.
Its a separate window, which is sort of like the photoshop style - I think its a better style than one window, and it lends itself well to being able to hide/show/dock the windows eventually.
Image here: cegui_props.jpg
The patch is checked in and tested.
The first thing you notice is that there are lots of ways of specifying the dimensions of a window!
Bools and Absolute/Relative/Inherited values use a drop down list, the other fields can be typed in. It resizes itself fairly well, except that the columns don't resize when the window is resized - that is because hooking up an event listener to the window resize caused the sizers to stop working.
Multiple selection is supported. If more than one widget is selected, entries which are identical are shown normally. If a value differs across the selection the field is left gray and blank - typing a value in the field will set the value for all widgets.
Its a separate window, which is sort of like the photoshop style - I think its a better style than one window, and it lends itself well to being able to hide/show/dock the windows eventually.
Image here: cegui_props.jpg
The patch is checked in and tested.
The first thing you notice is that there are lots of ways of specifying the dimensions of a window!