On 6/3/2014, 1:32 PM, Terence Heaford wrote:
the working screenRect = 0,22,1680,1046
the effective working screenRect = 0,22,1680,1046
the screenRect = 0,0,1680,1050
If I now "set the rect of this stack to 0,22,1680,1046" then window
top bar that contains the traffic lights is hidden beneath the Mac
Menubar.
If I change it to "set the rect of this stack to 0,44,1680,1046” then
the traffic lights are positioned correctly below the Mac Menubar.
I think what you want is "the effective rect of this stack". The rect of
the stack gives you the dimensions including the title bar. The
effective rect gives you only the content dimentions. If you subtract
item 2 of the effective stack rect from item 2 of the rect of the stack,
you'll know the height of the title bar.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode