Page 1 of 1

Frame Window Issues

Posted: Wed Feb 23, 2005 18:29
by Legolas1681
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

Re: Frame Window Issues

Posted: Wed Feb 23, 2005 18:59
by Exsortis
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

Re: Frame Window Issues

Posted: Thu Feb 24, 2005 01:06
by Legolas1681
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... ;)