Can't see bottom of the screen
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 63
- Joined: Sat Dec 22, 2012 3:01 am
Can't see bottom of the screen
My PC monitor is 1280x800 pixels at best. I'm trying to design a portrait app
but when I set the height of the card to 1280, it understandably goes off the top/bottom
of my PC monitor. Can anyone offer any assistance?
but when I set the height of the card to 1280, it understandably goes off the top/bottom
of my PC monitor. Can anyone offer any assistance?
Re: Can't see bottom of the screen
In Windows display setting there is the possibility to rotate your display 90.
Mac has a similar thing.
But if you have setup your "on resizeStack" well then you shouldn't have to worry about it.
Simon
Mac has a similar thing.
But if you have setup your "on resizeStack" well then you shouldn't have to worry about it.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 101
- Joined: Wed Dec 22, 2010 8:17 pm
Re: Can't see bottom of the screen
Not quite sure what you're after but you can use 'the screenrect' i.e. 0,0,1920,1080
and resize, reposition everything appropriately.
I used to make different screen resolution versions like this...
if item 3 of the screenRect < 801 then
makeSmallSize
else
makeNormalSize
end if
I'd run this check on preOpenStack so everything fit.
Now... first I'd do a small size stack, position everything on each card with small buttons & fonts etc then....
I'd run a script which would get all the sizes as rects for each and every card:
repeat for n = 1 to the number of cds
repeat with i = 1 to the number of flds of cd n
put "set the rect of fld " & i & " of cd " & n & " to " & the rect of fld i of cd n & return after msg
end repeat
end repeat
That'd generate a huge list of set the rect commands for every field on every card
I'd then cut and paste that list into a procedure i.e.
on makeSmallSize
long list of set rect commands
end makeSmallSize
I also set font styles, sizes, button positions, the works in the same way.
Okay, so it's a bit tedious but it worked.
You lock screen, run the makeSmallSize procedure & you've got a different looking stack.
I've done the same thing to move stuff around, go between portrait & landscape print versions etc.
Hope that's a help
and resize, reposition everything appropriately.
I used to make different screen resolution versions like this...
if item 3 of the screenRect < 801 then
makeSmallSize
else
makeNormalSize
end if
I'd run this check on preOpenStack so everything fit.
Now... first I'd do a small size stack, position everything on each card with small buttons & fonts etc then....
I'd run a script which would get all the sizes as rects for each and every card:
repeat for n = 1 to the number of cds
repeat with i = 1 to the number of flds of cd n
put "set the rect of fld " & i & " of cd " & n & " to " & the rect of fld i of cd n & return after msg
end repeat
end repeat
That'd generate a huge list of set the rect commands for every field on every card
I'd then cut and paste that list into a procedure i.e.
on makeSmallSize
long list of set rect commands
end makeSmallSize
I also set font styles, sizes, button positions, the works in the same way.
Okay, so it's a bit tedious but it worked.
You lock screen, run the makeSmallSize procedure & you've got a different looking stack.
I've done the same thing to move stuff around, go between portrait & landscape print versions etc.
Hope that's a help
Re: Can't see bottom of the screen
Code: Select all
repeat for n = 1 to the number of cds
repeat with i = 1 to the number of flds of cd n
put "set the rect of fld " & i & " of cd " & n & " to " & the rect of fld i of cd n & return after msg
end repeat
end repeat


You should fill this notion out to include other objects, locations and release a plug-in "sdGeometryManager" to help set up the resizeStack handler. I know many people here would use it because of the different mobile device resolutions, and hand coding the resizeStack is a pain.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 101
- Joined: Wed Dec 22, 2010 8:17 pm
Re: Can't see bottom of the screen

Re: Can't see bottom of the screen
Hi Steve,
Hanging out in this forum I see a large number of people asking about the Geometry Manager (ugh!) and how to get it to work or more annoying "Why doesn't my stack display the same way on different devices?". I myself only use minimize and close in the decorations because I'm too lazy to hand write the resizeStack. I remember when I first started using LC I was dissapointed that it didn't have a "Zoom" function for the maximize button.
In two ways I'm asking for this for myself, 1 for my projects and 2 so I can point other users to it. I often have to repeat myself here for size and position settings.
I'm pretty sure you'd be in line for a sainthood if you built a resizeStack plugin.
Simon
Hanging out in this forum I see a large number of people asking about the Geometry Manager (ugh!) and how to get it to work or more annoying "Why doesn't my stack display the same way on different devices?". I myself only use minimize and close in the decorations because I'm too lazy to hand write the resizeStack. I remember when I first started using LC I was dissapointed that it didn't have a "Zoom" function for the maximize button.
In two ways I'm asking for this for myself, 1 for my projects and 2 so I can point other users to it. I often have to repeat myself here for size and position settings.
I'm pretty sure you'd be in line for a sainthood if you built a resizeStack plugin.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!