[Cuis-dev] For Test: Layouts + EdgeWeight
Dan Norton
dnorton at mindspring.com
Thu May 28 19:13:27 PDT 2020
On Thu, 28 May 2020 21:56:03 -0400
Dan Norton <dnorton at mindspring.com> wrote:
> On Thu, 28 May 2020 07:34:47 -0700
> "ken.dickey--- via Cuis-dev" <cuis-dev at lists.cuis.st> wrote:
>
> > On 2020-05-28 07:34, Dan Norton via Cuis-dev wrote:
> > > On Thu, 28 May 2020 06:54:33 -0700
> > > "ken.dickey--- via Cuis-dev" <cuis-dev at lists.cuis.st> wrote:
> > >
> > >> On 2020-05-27 19:49, Dan Norton via Cuis-dev wrote:
> > >>
> > >> > Since it will appear in the base as a method category, it
> > >> > should be spelled "deprecated" which makes me wonder if
> > >> > comments can be spell checked?
> >
> > Newer 4195-CuisCore-LayoutProposal9-2020May28-07h20m-KenD.002.cs.st
> > at GitHub (or attached).
> >
>
> I'm trying to simplify an example where a collection of small elipses
> is not appearing when fed to LayoutMorph>>addAllMorphs: but have not
> yet. Maybe you could see it in the Construction game if you put in
> names of a couple of players and click the Move and End Turn buttons.
> At the end of a turn, a player's marker should appear at the bottom of
> the space where he landed, but it does not. Game>>cellsAt: is the
> method which does that.
>
> I'll keep working on the simpler version.
>
It's very simple; do this:
mm := {
EllipseMorph new color: Color green.
EllipseMorph new color: Color blue.
EllipseMorph new color: Color red}.
lm := LayoutMorph newRow.
lm morphExtent: 220 at 40.
lm openInHand .
lm addAllMorphs: mm.
> > Thanks again for suggestions!
> >
> > -KenD
>
More information about the Cuis-dev
mailing list