I created a ThoughtBalloonMorph seen here (think of a cartoon if you can't
see the image):
http://forum.world.st/file/n3376956/Screen_shot_2011-03-15_at_March_15%2C_2011_3.58.42_PM.png
 

It is an invisible morph with three submorphs:
* an EllipseMorph with an embedded TextMorph
* two small CircleMorphs leading from the thinker to the thought.

The problem is that the #bounds of the Morph is 0@0 (for the invisible
Morph). Thus, when I add it to a PasteUpMorph with #shrinkWrap resizing, the
submorphs are not taken into account and may be cut off, as seen here:
http://forum.world.st/file/n3376956/Screen_shot_2011-03-15_at_March_15%2C_2011_3.51.15_PM.png
 

What's the best way to overcome this?

Thanks.
Sean

p.s. if you're not viewing this on Nabble, did the images work? (I added
them on Nabble.)

--
View this message in context: 
http://forum.world.st/Laying-out-Morphs-with-submorphs-outside-their-bounds-tp3376956p3376956.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to