Re: screen math, stacks, fields, and effective screenRect

2015-01-17 Thread Paul Hibbert
It depends if your stack has a Stack Menu or not, try… put (the top of this stack) - (the effective top of this stack) -- With no Stack Menu =22 with a Stack Menu = 0 Paul > On Jan 17, 2015, at 5:40 PM, Dr. Hawkins wrote: > > On Sat, Jan 17, 2015 at 4:17 PM, Scott Rossi wrote: > >> The d

Re: screen math, stacks, fields, and effective screenRect

2015-01-17 Thread Dr. Hawkins
On Sat, Jan 17, 2015 at 4:17 PM, Scott Rossi wrote: > The difference you're seeing is likely due to the height of the stack > including its titlebar versus the height of the card region only of the > stack. > > You might try seeing the entries in the dictionary for localLoc and > globalLoc, used

Re: screen math, stacks, fields, and effective screenRect

2015-01-17 Thread Scott Rossi
The difference you're seeing is likely due to the height of the stack including its titlebar versus the height of the card region only of the stack. You might try seeing the entries in the dictionary for localLoc and globalLoc, used for converting global positions to local, and vice versa. Reg

screen math, stacks, fields, and effective screenRect

2015-01-17 Thread Dr. Hawkins
I'm trying to figure out screen math to set the top of a helper stack to the top of a field, and the like. The math doesn't seem to make sense. It would *seem* to me that the top of this stack + the top of me should give the top of the field in screen coordinates. But it doesn't So I tried