[Cuis-dev] LayoutMorph subclass instance #beColumn has not effect
marianomontone at gmail.com
marianomontone at gmail.com
Mon Mar 13 13:00:47 PDT 2023
On 13/3/23 13:36, Alexandre Rousseau via Cuis-dev <cuis-dev at lists.cuis.st> 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?
I think it is. You may want to try with #beRow if you want submorphs to align vertically (in rows).
Mariano
More information about the Cuis-dev
mailing list