Morph help
Michael Latta
lattam at mac.com
Fri Dec 24 16:57:02 UTC 2004
I found it. I am still learning morphic. Apparently it is not enough
to just clear the layout policy, I also need to set the vResizing and
hResizing to rigid.
Michael
On Dec 23, 2004, at 7:54 PM, Michael Latta wrote:
> I am seeing odd behavior. I have a morph (subclass of NCBasicShape
> from Connectors) with no layout policy, and a size set. When I drop a
> morph into it, the morph resizes to just enclose the submorph. So a
> morph that is 100 at 200 receives a morph at 20 at 100 that is 10 at 10 and is
> resized to 30 at 110. Without a layout policy should it not retain its
> size?
>
> I have not yet found what method is being used to change the size of
> the morph. It is not bounds:, extent: nor privateBounds: as far as I
> can tell so far.
>
> Michael
>
>
More information about the Squeak-dev
mailing list
|