[Cuis-dev] LayoutMorph subclass instance #beColumn has not effect

Juan Vuletich juan at cuis.st
Mon Mar 13 13:12:07 PDT 2023


On 3/13/2023 1:36 PM, Alexandre Rousseau via Cuis-dev wrote:
> Defining a class as subclass of LayoutMorph and initializing it thus:
>
>     initialize
>       super initialize.
>       self beColumn.
>
>
> morphs added to it still appear next to each other, horizontally, as 
> if #beColumn was ignored.
>
> Is this expected behaviour for a subclass of LayoutMorph?
>

You may want to play with LayoutMorph class >> example1, that shows a 
possible way to build a column of rows. There are several other examples 
there. #example101VG is particulary interesting.

After opening them, play with the halo handles, to see how they react.

HTH,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230313/148036f7/attachment.htm>


More information about the Cuis-dev mailing list