Hi Ken...

In my stack inspector, I have set the minWidth and hight and maxWidth and height properties.

Min width 800
min height 600
max width 1024
max height 706

When the stack is in its minWidth/Height form and I try and resize it by dragging, I cannot make it any smaller. At this point, I click on the *maximize* button and it sets the width to 692 and the height to 596 every single time. After this happens, I drag the stack to it's max window size and then click on the *minimize* button. This works fine by setting the window to it's minimum window size.

Even if I create a brand new stack and perform the same operation, I get the same result.

Perhaps that explains it a little better.
Any ideas?

Much appreciated
Nic

----- Original Message ----- From: "Ken Ray" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[email protected]>
Sent: Wednesday, April 18, 2007 4:34 PM
Subject: Re: Resizing and geometry


On Wed, 18 Apr 2007 15:15:07 +0200, Nic Prioleau wrote:

Hello all..

I am having a really annoying problem when maximizing my stack and
would like to know if I can trace what happens when clicking on the
maximize button. Instead of maximizing the window as it should, it
actually makes the window smaller than it should be, although the
maxWidth is 1024 and the maxHeight is 706. Is there anything I should
be looking out for here?

Well, the only time clicking the maximize button would make the window
*smaller* (AFAIK) would be if the window was *already* maximized before
the maximize button was clicked - it would restore the window to its
previous, un-maximized size. The only other thing I can think of is
that your monitor is set to 1024x768 and the width you're getting is
not 1024 but something smaller; this would be caused by the fact that
Rev applies a margin around the edges of the screen and above the task
bar/dock when it sets the windowBoundingRect. If that's the case, then
manually setting the windowBoundingRect to the full screen size before
you deal with this window should take care of it.

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal
#####################################################################################
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to