<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    It should be enough to redefine #new appropriately.<br>
    <br>
    On 3/14/2023 1:40 PM, Luciano Notarfrancesco via Cuis-dev wrote:
    <blockquote
cite="mid:CAL5GDyqVPzUtAzceG=oxqqH0UG-G-qZDT0ypifYk94srwxjmnQ@mail.gmail.com"
      type="cite">
      <div dir="auto">I don’t have an image to check right now, but I
        guess the problem is that beRow is sent in new (after sending
        initialize) instead of in initialize. If that’s the case I’d
        suggest moving it to initialize.</div>
      <div><br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Tue, 14 Mar 2023 at 19:27
            marianomontone--- via Cuis-dev <<a moz-do-not-send="true"
              href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin: 0px 0px 0px
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">On 13/3/23 21:47, Alexandre Rousseau
            <<a moz-do-not-send="true" href="mailto:yalexr@gmail.com"
              target="_blank">yalexr@gmail.com</a>> wrote:<br>
            > Hmmm. I thought I was. But this still results in a row
            alignment:<br>
            > <br>
            >     initialize<br>
            >        super initialize.<br>
            >        self<br>
            >          addMorph: (BoxedMorph new :: color: Color
            red);<br>
            >     addMorph: (BoxedMorph new :: color: Color green);<br>
            >     addMorph: (BoxedMorph new :: color: Color blue);<br>
            >     beColumn.<br>
            > <br>
            > <br>
            > But indeed adding:<br>
            > <br>
            >     MyLayoutMorphSubclass class>>new<br>
            >          ^ self newColumn<br>
            > <br>
            > fixes everything.<br>
            <br>
            Yes, I tried the same and got same result. I followed the
            code #beColumn code, but I'm not able to tell why it happens
            that way. I feel like it should work with a #beColumn call
            at the end of #initialize, but it doesn't.<br>
            <br>
                Mariano<br>
            -- <br>
            Cuis-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
            <a moz-do-not-send="true"
              href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
              rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
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</pre>
  </body>
</html>