Screen Size Advice
Marian Petrides
mpetrides at earthlink.net
Thu Jul 22 16:32:09 EDT 2004
Try this as a quick and dirty solution (at least until you master the
Geometry Manager--I haven't tried it yet).
What I do is use the following in my OpenStack handler:
If the screenRect <> 0,0,800,600 then
set the rect of this stack to 100,100,900,700
else
set the rect of this stack to the screenRect
end if
The resultant stack is always 800 X 600 in size (didn't want to mess
with the Geometry Manager) but on a 1024 X 768 system it just fills
less of the screen and the fonts look smaller (and consequently
crisper). The first half of the condition simply avoids having the
stack stuck exactly in the upper left corner of the screen (which looks
unnatural to me) on systems with resolution greater than 800 X 600.
Try it in a demo stack of your own making and see if it will do the
trick.
M
On Jul 22, 2004, at 4:17 PM, Tom Cole wrote:
> Thanks for the help, but I guess I'm getting confused with the screen
> size info.
>
> All I really want is to decide on a smart size for my cards so I can
> position my graphics and buttons and know that they will not overflow
> anyone's screen.
>
> When I drag a screen around until its rect is 800/600, I have plenty
> of room to work. (It's quite big!) So I guess my question is if I just
> keep all my buttons and graphics within this size area, 600/800, will
> it work for people and does it matter then what the stack's screenrect
> is? I just want to know if I develop with cards whose rects are at
> 600/800 if people will have enough room. I can't seem to change the
> screenrect for the stack, whose default seems to be 1024/768.
>
> Many Thanks,
> Tom
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list