[squeak-dev] Morphic

d3orn dominique.rahm at gmx.ch
Sat Oct 9 18:13:35 UTC 2010


Hey there,
I'm currently working on a Morph holding different submorphs and now I would
like to create something like a minimap of this supermorph holding a
representation of the submorphs.
Therefore I created a x: 200 and y: displaywidth morph
now I would like to copy the supermorph and scaling down his width to 200
and then center it inside the minimapMorph..
This is very the problems starts^^
I therefore create a new Morph and adding all the submorphs to this, then I
calculate the factor (supermorph width / 200) 
now I would like to scale the supermorph copy and all it's submorphs but I
don't know exactly how I could do this...
Any help would be very nice 
thx
-- 
View this message in context: http://forum.world.st/Morphic-tp2969771p2969771.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.



More information about the Squeak-dev mailing list