Is it possible to load a gui from xml into a window

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
cheshirekow
Posts: 105
Joined: Mon Jul 27, 2009 4:06 pm
Location: Cambridge, MA

Is it possible to load a gui from xml into a window

Post by cheshirekow »

I though that's what would happen if I set the window as the "parent" of the loadGUI method... but alas it is not. I'd like to be able to edit the guis in the gui editor where I can lay everything out, rather than having to recompile everything just to see how it looks.
cheshirekow
Posts: 105
Joined: Mon Jul 27, 2009 4:06 pm
Location: Cambridge, MA

Post by cheshirekow »

Nevermind, I just made the window part of the gui that is loaded. Rather than trying to "load a gui in a window", i'll just "load a window gui from a file".
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Re: Is it possible to load a gui from xml into a window

Post by bitplane »

cheshirekow wrote:I though that's what would happen if I set the window as the "parent" of the loadGUI method... but alas it is not.
That's what's supposed to happen. This sounds like a bug to me
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I'm not sure if that was fixed in the 1.5 releases, but IIRC we fixed some things regarding this issue. Still, we should look into it some more. 'Will move to the bug forum for confirmation.
cheshirekow
Posts: 105
Joined: Mon Jul 27, 2009 4:06 pm
Location: Cambridge, MA

Post by cheshirekow »

Cool. Thanks for looking into it.
Post Reply