<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 12/02/2025 9:48 pm, Mark Volkmann
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFfRWnU7A0Z1VaJZNPqd+JudZsXP_ZVJrSFqGVCMrhq3QjKYNQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">On Wed, Feb 12, 2025 at 1:44 PM H. Hirzel via
          Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st"
            moz-do-not-send="true" class="moz-txt-link-freetext">cuis-dev@lists.cuis.st</a>>
          wrote:<br>
        </div>
        <div class="gmail_quote gmail_quote_container">
          <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hello<br>
            <br>
            I want a table cell extent to be defined in absolute values
            and the <br>
            content should be centered.<br>
            <br>
            What I have so far is<br>
            <br>
                         cellContentExtent := (5 to: 80) atRandom
            asPoint.<br>
                         cellContent := (ColoredBoxMorph new :: 
            morphExtent: <br>
            cellContentExtent; color: Color random).<br>
            <br>
                         tableCell := (LayoutMorph newRow :: 
            morphExtent: 100@100; <br>
            color: Color blue).<br>
                         tableCell addMorph: cellContent layoutSpec:
            (LayoutSpec <br>
            fixedExtent: cellContentExtent).<br>
                         tableCell openInWorld<br>
            <br>
            How do I tell the tableCell layoutMorph to center its
            content?<br>
          </blockquote>
          <div><br>
          </div>
          <div>Does it work to add this?</div>
          <div><br>
          </div>
          <div><font face="monospace">tableCell axisEdgeWeight: 0.5. </font></div>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <p>Yes it works.</p>
    <p>And <br>
    </p>
    <p><font face="monospace">tableCell axisEdgeWeight: #center.</font></p>
    <p><font face="monospace">also :-)</font></p>
    <p><font face="monospace">Thank you Mark.<br>
      </font></p>
    <p><font face="monospace">-- Hannes<br>
      </font></p>
    <p><font face="monospace"><br>
      </font></p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:CAFfRWnU7A0Z1VaJZNPqd+JudZsXP_ZVJrSFqGVCMrhq3QjKYNQ@mail.gmail.com">
      <div dir="ltr"><span class="gmail_signature_prefix">-- </span><br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div dir="ltr">
                      <div><font face="arial, helvetica, sans-serif">R.
                          Mark Volkmann</font></div>
                      <div><span style="font-size:12.8px"><font
                            face="arial, helvetica, sans-serif">Object
                            Computing, Inc.</font></span></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>