[Pharo-dev] [bloc] yellow halos

stepharo stepharo at free.fr
Sat Apr 2 13:56:22 EDT 2016


> There is no layout strategy yet to put halos in the corners. Yellow 
> circle ideally must be in the right bottom corner.
>

I do not know but I cannot grab morph and I get DNU.

Stef

> Try to inspect and send extent: to an element you want to resize
>
> On Apr 2, 2016 4:45 PM, "stepharo" <stepharo at free.fr 
> <mailto:stepharo at free.fr>> wrote:
>
>     Hi
>
>     I created a simple morph and when I try to grab it using the
>     yellow halo I get this message
>         self assert: anElement isInWorld.
>
>
>
>     draggedElement: anElement
>
>         self assert: anElement isNotNil.
>         self assert: anElement isInWorld.
>
>         "compute distance from hand's position in global coordinates"
>         self targetOffset: (anElement globalPosition - self
>     globalPosition).
>         self privateDraggedElement: anElement.
>
>         anElement position: (self globalPointToLocal: self
>     targetOffset + self globalPosition)
>
>     Stef
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20160402/d97e8de5/attachment.html>


More information about the Pharo-dev mailing list