Hi,

a)Do you wrap the morph inside the morph tab view? ,

b) Do you use the same code for rendering as in  Morph>> #gtInspectorMorphIn: .


if a) it is most likely caused by the morph being wrapped within one or more 
transform morphs, and the offset of these are not taken into account when 
opening the menu.


if b) The real morph position is probably not the same as where clicked causing 
it to open at another place.


What method are you using for opening the menu: (#popUpEvent:in: , 
#popUpAt:forHand:in: , other)?

also see: 
https://pharo.fogbugz.com/f/cases/15927/Menu-is-broken-when-contained-in-a-scrollable-pane



Best regards,

Henrik


________________________________
Fra: Pharo-users <pharo-users-boun...@lists.pharo.org> på vegne av Hilaire 
<hila...@drgeo.eu>
Sendt: 16. juli 2017 21:12:16
Til: pharo-users@lists.pharo.org
Emne: [Pharo-users] Playground and Dr. Geo

Hi,

I am integrating the Dr. Geo Smalltalk Sketch to Playground.

So far, Dr. Geo morphic view is well integrated and interactive is
there. However when I select a menu in the view it opens deported. See
attached screenshot.

The Dr. Geo view is a StandardWindow with its label area hidden.

Any idea?

Thanks

Hilaire


--
Dr. Geo
http://drgeo.eu

Reply via email to