Page 1 of 1

CELayoutEditor 0.6 and ScrollablePane

Posted: Sat Mar 14, 2009 14:48
by hypnodok
This can easily be reproduced by creating a ScrollablePane (I chose WindowsLook) and adding child windows to it.
With ContentPaneAutoSize set to true, the window shows a weird behaviour that makes it hard to position your windows correctly (Ive also had childwindows stop being rendered after clicking/moving them around).
Heres a video (1.8 MB) I made to show the behaviour Im talking about:
http://www.mediafire.com/download.php?nt32yymw2qc
or (for the lack of a better video hoster) on youtube:
http://www.youtube.com/watch?v=MykTugWYLY4
Any chance this can get fixed or is it working as intended?
(This also exists in 0.6.2)
Also, is there an ini file for the editor that already has all (or most) properties in SupportedProperties filled out? I have searched for it before but didnt find anything yet.

Posted: Sun Mar 15, 2009 09:15
by CrazyEddie
The ScrollablePane behaviour you see is by design. When the content is auto-managed, for the content pane that everything else is attached to internally the system will generally consider x = 0 to be the x position of the leftmost window, and y = 0 to be the y position of the topmost window - when moving content around like in the video, you see how other content is "moved" according to these rules.

I'm not certain as regards to the .ini file question; scriptkid will be much better placed to answer that :)

CE.

Posted: Sun Mar 15, 2009 10:01
by scriptkid
About the ini file: the current default supported properties setup might be limited. Coindicently I have started to have a good look at the installer/ini behaviour this weekend, so i will look at the properties too! :)

Posted: Tue Mar 17, 2009 20:14
by Jamarr
Ahem: http://www.cegui.org.uk/phpBB2/viewtopic.php?t=3670

Or update the CELayoutEditor to dynamically find all properties so no one has to maintain that ini/properties mess...

Posted: Wed Mar 18, 2009 08:00
by scriptkid
Thanks for that link, i missed that post. It's actually a good idea to integrate the property finder into the editor to automagically keep it up to date.

Starting next month, i should have more serious time to spend on cegui again.

Raised ticket: http://www.cegui.org.uk/mantis/view.php?id=290