Sheets and Drawers?

stephen barncard stephenREVOLUTION2 at barncard.com
Wed May 13 15:03:26 EDT 2009


2009/5/13 Richmond Mathewson <richmondmathewson at gmail.com>

> I've just put this in a button:
>
> on mouseUp
>  drawer stack "QQQ" at left
> end mouseUp
>
> Beyond putting something in preOpenStack to guarantee the main stack
> is positioned so that the drawer pops out of the correct side when it is
> called
> there must be a way to prevent this.


Not really. I've been there with this. Maybe one shouldn't use this feature
with tiny screens. The OS is trying to look out for our best interests, I
guess.


>
> The problem can be seen clearly if one considers a screen resolution of 800
> x 600
> and a main stack that is 640 x 480 with substacks that are 400 x 300 that
> should be
> called from either side of the main stack.
>
>
> ----------------------------------------------------------------------------
>
> One of the ways round this (apart from moving the main stack everytime
> a drawer pops out - which is not satisfactory) would be to SHEET from the
> sides
> of the main stack: i.e. the effect would be that of a drawer emerging from
> one
> side of the main stack, but over the main stack rather than beside it.



More information about the use-livecode mailing list