Yes, I know. That's why I suggest you to wrap a flex shell on the morph, because it takes care of the submorph scaling for you. Try executing this on a workspace:
m := Morph new openInWorld extent: 300@300.
m addMorph: (RectangleMorph new extent: 200@200).
m addMorph: (EllipseMorph new extent: 100@100).
And then this:
t := m addFlexShell.
t extent: 100@100
You'll see that the three morphs get scaled correctly.
Cheers
Richo
On Sat, Oct 9, 2010 at 4:08 PM, d3orn
<[hidden email]> wrote:
the problem with extent is, that is will only scale the supermorph to a given
size (for example 200) but I have to scale all the submorphs with the same
"factor" too
--
View this message in context: http://forum.world.st/Morphic-tp2969771p2969801.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.