i get this when trying to add an imagebuttun to a group box
Code: Select all
Exception message: CEGUI::UnknownObjectException in function 'class CEGUI::NamedElement *__thiscall CEGUI::NamedElement::getChildElement(const class CEGUI::String &) const' (G:\Libraries\CEGUI\cegui\cegui\src\NamedElement.cpp:150) : The Element object referenced by '__auto_contentpane__' is not attached to Element at 'FrameWindow/Data GB'.
its a new layout with just a framewindow and groupbox
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<GUILayout version="4" >
<Window type="TaharezLook/FrameWindow" name="FrameWindow" >
<Property name="Area" value="{{0,1},{0,-1},{0.3,719},{0.3,538}}" />
<Property name="FrameEnabled" value="false" />
<Property name="SizingEnabled" value="false" />
<Window type="TaharezLook/GroupBox" name="Data GB" >
<Property name="Area" value="{{0,0},{0,0},{0.3,711},{0.3,0}}" />
<Property name="Text" value="Data" />
<Property name="RiseOnClickEnabled" value="false" />
</Window>
</Window>
</GUILayout>
how can we solve this ?