CELayoutEditor 0.6 and ScrollablePane

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

hypnodok
Just popping in
Just popping in
Posts: 1
Joined: Sat Mar 14, 2009 14:37

CELayoutEditor 0.6 and ScrollablePane

Postby hypnodok » Sat Mar 14, 2009 14:48

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.

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

Postby CrazyEddie » Sun Mar 15, 2009 09:15

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.

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 » Sun Mar 15, 2009 10:01

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

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Postby Jamarr » Tue Mar 17, 2009 20:14

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...

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 » Wed Mar 18, 2009 08:00

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
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 7 guests