Frame Window Issues

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Legolas1681
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Fri Jan 28, 2005 00:32

Frame Window Issues

Postby Legolas1681 » Wed Feb 23, 2005 18:29

Okay, I've created and setup a frame window with a child widget. The problem I'm having is when I resize the window, the child widget shifts position instead of staying absolute to the top and left of the window. Is there a way to prevent this from happening? Any help would be greatly appreciated.

Here are two URL's to screenshots illustrating this problem:
http://qmx.dnsalias.com/private/screenshot1.png
http://qmx.dnsalias.com/private/screenshot2.png

User avatar
Exsortis
CEGUI Team (Retired)
Posts: 42
Joined: Mon Feb 07, 2005 17:13
Location: Palmdale, CA
Contact:

Re: Frame Window Issues

Postby Exsortis » Wed Feb 23, 2005 18:59

I would imagine that you are using Relative metrics for your child window position, which would cause it to move if the parent is resized.

BTW, I like that look you are creating. Are you going to make it available for others to use? (I'm still looking for a "look" for my game; WindowLook isn't appropriate, TaharezLook, which I'm using as a placeholder for now, looks too modern for an RPG, and I'm certainly no artist :) )

-E

User avatar
Legolas1681
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Fri Jan 28, 2005 00:32

Re: Frame Window Issues

Postby Legolas1681 » Thu Feb 24, 2005 01:06

Oh... DOH!! ::slaps head:: I was specifying absolute metrics for intitial sizing and positioning, but was leaving the base metrics mode at relative. Got it working great now.

Anyways, the look I'm currently using is borrowed from Morrowind temporarily. I'm no artist either, so... ;)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 3 guests