widget in GroupBox is not saved by LayoutEditor
Posted: Sun Apr 19, 2009 02:39
I use CELayoutEditor 0.6 to edit my layout, but I find that whatever widget I add as the child of a GroupBox is not saved
even I save the layout by pressing File/Save or File/Save As. I also tried CELayoutEditor 0.6.2, but still doesn't work
I thought it is a bug of the editor until I also see a post here
http://www.cegui.org.uk/phpBB2/viewtopic.php?f=3&t=3562&p=16064&.
So it seems GroupBox doesn't have
If it comes to that, in my opinion, CELayoutEditor should really forbid adding child to a GroupBox to avoid false apperarance,
because in the CELayoutEditor's "Brouse layout" window it appears that the GroupBox has a child which is actually not how it works.
So, I have to add a widget in the same level as GroupBox, and then move it into the GroupBox.
even I save the layout by pressing File/Save or File/Save As. I also tried CELayoutEditor 0.6.2, but still doesn't work

I thought it is a bug of the editor until I also see a post here
http://www.cegui.org.uk/phpBB2/viewtopic.php?f=3&t=3562&p=16064&.
So it seems GroupBox doesn't have
parent/child relation with the controls which appear to be inside it
If it comes to that, in my opinion, CELayoutEditor should really forbid adding child to a GroupBox to avoid false apperarance,
because in the CELayoutEditor's "Brouse layout" window it appears that the GroupBox has a child which is actually not how it works.
So, I have to add a widget in the same level as GroupBox, and then move it into the GroupBox.