fullscreenmode and rect of a substack on mobile device ?
J. Landman Gay
jacque at hyperactivesw.com
Mon Aug 20 17:07:58 EDT 2018
On 8/19/18 11:45 PM, Richard Gaskin via use-livecode wrote:
> Consider a Note app. At the top is a navbar that spans the width of the
> device at 60 px tall; below is a field for the user to type in; centered
> below that is a "Save" button.
>
> This is in the card script:
>
> on resizeStack x,y
> set the rect of grp "Navbar" to 0,0,x,60
> set the rect of fld "Main" to 0,the bottom of grp "Nav",x,y-100
> set the loc of btn "Save" to (item 1 of the loc of this cd, y-40)
> end resizeStack
Yup. Would you do this for, say, 200 controls per card on 1000 unique
cards? Toss in a handful of groups nested three deep each. (I have
Swami's project in mind.)
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list