ceed error with group box

Forum for support and development discussion regarding the python based unified editor tool for CEGUI, known as CEED.

Moderators: CEGUI MVP, CEGUI Team

orion
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Fri Apr 24, 2020 15:56

ceed error with group box

Postby orion » Mon Feb 22, 2021 16:37

hi all

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 ?

niello
Quite a regular
Quite a regular
Posts: 76
Joined: Tue May 24, 2011 05:54
Contact:

Re: ceed error with group box

Postby niello » Mon Oct 04, 2021 08:14

Hi!

Sorry that you received no answer when you needed it. If you have problems with CEED in the future it is better to post an issue:
https://github.com/cegui/ceed-cpp/issues/new

I monitor them way more oftenly than this forum.
BTW we just released CEED 1.1.0, please check the problem there if it is still actual for you.

niello
Quite a regular
Quite a regular
Posts: 76
Joined: Tue May 24, 2011 05:54
Contact:

Re: ceed error with group box

Postby niello » Mon Oct 04, 2021 08:27

Just checked, and the problem seems to be solved in 1.1.0

Image

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.30000001,720},{0.30000001,537}}" />
        <AutoWindow namePath="__auto_titlebar__" >
            <Property name="CursorInputPropagationEnabled" value="true" />
        </AutoWindow>
        <Window type="TaharezLook/GroupBox" name="GroupBox" >
            <Property name="Area" value="{{0,0},{0,0},{0.30000001,711},{0.30000001,0}}" />
            <Property name="Text" value="Data" />
            <Property name="RiseOnClickEnabled" value="false" />
            <Window type="TaharezLook/ImageButton" name="ImageButton" >
                <Property name="Area" value="{{0,27},{0,54},{0,77},{0,104}}" />
                <Property name="NormalImage" value="TaharezLook/CursorAttack" />
                <Property name="Text" value="ImageButton" />
            </Window>
            <Window type="TaharezLook/ImageButton" name="ImageButton2" >
                <Property name="Area" value="{{0,104},{0,75},{0,154},{0,125}}" />
                <Property name="NormalImage" value="TaharezLook/CursorAttack" />
                <Property name="Text" value="ImageButton" />
            </Window>
        </Window>
    </Window>
</GUILayout>


Return to “Official Unified CEGUI Editor Tool (CEED)”

Who is online

Users browsing this forum: No registered users and 0 guests