[Cuis-dev] Layout Tutorial updated for 7.0

Ignacio Sniechowski 0800nacho at gmail.com
Mon Jun 24 04:33:09 PDT 2024


Sorry!
Also,
The EllipseMorph class seems to be missing in the package.
And then even if I do:
| myLayout |
myLayout := LayoutMorph newRow.
myLayout morphPosition: 200 at 300 extent: 400 at 300; color: Color lightBlue;
openInWorld.
myLayout addMorph: (BoxedMorph new :: color: Color blue; yourself).
myLayout addMorph: ImageMorph new.

I get the morph with the box and the cuis image, but when I try to "edit
me" I get a MNU and the debugger pops up. I guess it has to do with class
FrameMorph not being defined...

edit my LayoutSpec works fine.

Thanks!
Cheers Nacho

*Ignacio Sniechowski*



















On Mon, Jun 24, 2024 at 8:13 AM Ignacio Sniechowski <0800nacho at gmail.com>
wrote:

> Hi Ken!
> Great work
> I've noticed what seems to be a little typo in:
>
> myLayout morphPosition: 200 at 300 morphExtent: 400 at 300; color: Color
> lightBlue; openInWorld.
>
> It could either be:
> myLayout morphPosition: 200 at 300 extent: 400 at 300; color: Color lightBlue;
> openInWorld.
>
> Or if we really want to use morphExtend:
>
> myLayout morphPosition: 200 at 300; morphExtent: 400 at 300; color: Color
> lightBlue; openInWorld.
>
> Perhaps I'm wrong...
> Cheers
> Nacho
>
>
>
>
> *Ignacio Sniechowski*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Sun, Jun 23, 2024 at 8:19 PM ken.dickey--- via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> https://github.com/Cuis-Smalltalk/Learning-Cuis/blob/master/LayoutTour.md
>>
>> Please review (both parts) for typos, corrections..
>>
>> Thanks!
>> -KenD
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240624/823879e2/attachment-0001.htm>


More information about the Cuis-dev mailing list