Problem with stack dimensions
simplsol at aol.com
simplsol at aol.com
Sat Dec 31 11:14:17 EST 2005
Steve,
I would only add that Rev stacks on OS X make room for the VISIBLE dock
wherever it is, including sides (if the user is displaying it on either
the left or right side of the screen) - it does so by cutting off the
opposite edge of the stack or the bottom. If the dock is hidden (set to
pop up automatically), Rev will not cut off sides or bottom of your
stack.
Consequently, the size of the monitor may determine how much stack can
be displayed: a 14" with the dock on the left would cut off the right
edge of a full width stack, on a 15" there would be no problem.
If you want to design for almost everything, try 546x800, this will fit
on 600x800 (leaving room for the menubar, with the understanding that,
on such a small screen, the user will have the dock set to automatic).
All Macs since 1998 (including the Clamshell laptop and the original
iMac) will accomodate a 600x800 screen.
Paul Looney
-----Original Message-----
From: graham samuel <graham.samuel at wanadoo.fr>
To: Use-List Rev <use-revolution at lists.runrev.com>
Sent: Sat, 31 Dec 2005 16:34:38 +0100
Subject: Re: Problem with stack dimensions
There was a discussion on this in the list around September 2003 (!)
under the title 'Leaving room for the title bar'. Ken Ray as usual had
some interesting observations. I no longer have the complete
correspondence to hand, but I imagine it can be searched for.
HTH
Graham
On Sat, 31 Dec 2005 07:15:34 +1000, Sarah Reichelt
<sarah.reichelt at gmail.com> wrote:
> On 12/31/05, Stgoldberg at aol.com <Stgoldberg at aol.com> wrote:
>
>> What are the optimal Revolution stack dimensions to fill a screen
>> set at
>> 1024x768 resolution (I'm using Mac OSX to develop)? Setting the >>
stack dimensions
>> to 1024x768 seems too big, because the titlebar adds extra space >>
on Windows,
>> and the dock gets in the way on Macintosh. It would seem that one
>> would have
>> to set the stack dimensions to less than 1024x768. But what >>
dimensions are
>> optimal? Thanks.
>> Steve Goldberg
>>
>
> On Macs, the top of the stack needs to be down about 44 pixels and
> then you need to leave space for the dock at the bottom. You can use
> the windowBoundingRect to tell you how much space this leaves you,
or
> you can just make an allowance that will be OK for a large dock and
> leave space above a small dock.
>
> With Windows, you will need to allow for the taskbar at the bottom.
I
> don't know how big this is, but again, the windowBoundingRect should
> tell you.
>
> Side-to-side, you can fill the screen on either platform.
>
> In the IDE, when you open the stack it will shrinkif necessary to
fit
> into the windowBoundingRect which is smaller inside Rev to allow for
> the toolbar & Tools palette, so you will need to over-ride this and
> set the size in one of the opening handlers.
>
----------------------------------------
Graham Samuel / The Living Fossil Co. / UK and France
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list