Geometry Manager tutorial?
Björnke von Gierke
bvg at mac.com
Thu Dec 2 11:59:19 EST 2010
I suggest to use both the preopenstack and resizestack messages. I also suggest not to use the geometry manager. sooner or later it goes bonkers, and moves a control into a million negative pixel position, or some such.
Setting these properties, makes you able to resize anything however you like:
rectangle
topleft
bottomright
location
left
bottom
width
height
etc...
Note: The working rectangle (so to say) is the card, and not the stack:
lock screen
set the width of field "first" to the width of this card
set the topleft of field "first" to the topleft of this card
Finally, don't forget that grouping controls, as well as lock screen, can make things easier and quicker for you.
On 2 Dec 2010, at 16:51, Mark Swindell wrote:
> I've never made use of the geometry manager before. What's is the best tutorial and where can I find it?
>
> I have a pretty simple stack with 5 cards, but with newer higher resolution screens things are just too tiny. Should I just quiz the screen resolution and set each element manually in a preopenstack handler, or would the geometry manager work for this?
>
> Thanks
> Mark
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list