[Cuis-dev] An instance of Morph couldn't be moved by the halo's handle
Hilaire Fernandes
hfern at free.fr
Wed Aug 16 13:07:15 PDT 2023
For GUI (then layout), you don't want to use Morph because it does not
have location. The idea is to remove the unnecessary attributes
Le 16/08/2023 à 20:25, Szabolcs Komáromi a écrit :
> For me Morph feels a little bit broken. Too simplified and feels like
> a special case. (But I certainly doesn't have a comprehensive overview
> of Morphic in Cuis.) E.g.: If I try to add a Morph instance inside a
> LayoutMorph I get an MNU because Morph doesn't implement layoutSpec.
> It brakes the uniformity of morphs.
>
>> a := Morph new.
>> b := LayoutMorph newColumn.
>> b addMorph: a.
>> b openInWorld
>
> But I understand what was the rationale behind it.
>
> Regards,
> Szabolcs
--
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
More information about the Cuis-dev
mailing list