[Cuis] Embedding morphs at specific points in a morph?
Ken.Dickey
Ken.Dickey at whidbey.com
Mon Jul 20 20:44:43 CDT 2015
On Mon, 20 Jul 2015 16:18:13 -0600
David Tennant <d.a.tennant.2009 at gmail.com> wrote:
> myEllipse:= CircleEllipse new.
> n:=1.
> (1to:12) do:[
> (n<7)
> ifTrue: [self addMorph: (myEllipse at: 35@(35+(60*n)))]
> ifFalse: [self addMorph: (myEllipse at: 110@(35+(60*n)))].
> n:= (n+1).
> ].
I don't know what "CircleEllipse new" does (e.g. is the radius zero?), but I would note that you are adding the same morph at different positions.
I suspect each position would like its own morph.
--
-KenD
More information about the Cuis
mailing list