[squeak-dev] Squeak clock face
Bob Arning
arning315 at comcast.net
Tue Dec 19 21:20:07 UTC 2017
It is 0 at 0 in the beginning. If you have a squeak menubar, then the clock
morph will be *moved* down automagically when you add it to the World.
That's why you were seeing the center off by the height of the menubar.
If you were to turn off the menubar, then this problem would likely go
away. As I mentioned, if you always adjust your relative positions by
the owner morph's current position, the problem will also go away.
On 12/19/17 4:05 PM, Louis LaBrunda wrote:
> As far as the setting and later reporting of position not being different, I will take your
> word for it. But it does seem to me that before being open in world, position is 0 at 0 offset
> and after words it is offset to the screen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171219/38db4804/attachment.html>
More information about the Squeak-dev
mailing list
|