help with submorphs and halo

Ned Konz ned at bike-nomad.com
Fri Jul 4 02:27:35 UTC 2003


On Thursday 03 July 2003 06:47 pm, Yoshiki.Ohshima at acm.org wrote:

>   I'm not sure what is going on in Tim's image, but if you create
> an embedded morph(s) with something like:
>
> ---------------
> parent _ Morph new bounds: (0 at 0 extent: 100 at 100).
> parent color: Color yellow.
> child _ Morph new bounds: (100 at 100 extent: 100 at 100).
> child color: Color blue.
>
> parent addMorph: child.
> parent openInWorld.
> ---------------
>
> you can't get the halo for the child.  (Wow... Actually, I found
> that if you Alt-click on the resize halo of 'parent', you can get
> the halo for 'child'...)

This is a side effect of the definition of Morph>>worldBoundsForHalo 
in terms of bounds.

Would it help to have a Preference that lets you choose betweeen these 
behaviors (bounds/fullBounds)?

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list