<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Hilaire<br>
</p>
<p>The class TableMorph is in the package <font size="4"><a
class="moz-txt-link-freetext"
href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI/blob/main/lib/UI-Panel.pck.st">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI/blob/main/lib/UI-Panel.pck.st</a><br>
</font></p>
<p><font size="4">With only 10 instance methods it manages to
accomplish the layout behavior! If the TableMorph is resized the
rows are updated accordingly. Useful for certain cases.<br>
</font></p>
<p><font size="4">The example shown with a screen shot in this
thread is</font></p>
<p><font size="4">TableMorph example1<br>
</font></p>
<p><font size="4">So it seems to behave like a simplified version of
the Squeak TableLayout<br>
</font></p>
<p><a class="moz-txt-link-freetext" href="https://wiki.squeak.org/squeak/2340">https://wiki.squeak.org/squeak/2340</a></p>
<p><font size="4">Which behaves more like a </font>CSS Flexbox
layout arrangement.</p>
<p><font size="4">The question is: what are the requirements for the
TableMorph?</font></p>
<p><font size="4">Should the rows have aligned columns or not?</font></p>
<p><font size="4">I guess both use cases have applications.<br>
</font></p>
<p><font size="4">--Hannes<br>
</font></p>
<div class="moz-cite-prefix">On 12/02/2025 3:59 pm, H. Hirzel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f44fc27f-b6d0-47eb-8926-0c1b5c4c3694@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><br>
</p>
<div class="moz-cite-prefix">On 12/02/2025 3:50 pm, H. Hirzel
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:996d2c14-15b1-42ef-af63-1b3b3a43688e@gmail.com">
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<p><br>
</p>
<div class="moz-cite-prefix">On 06/02/2025 8:41 pm, Hilaire
Fernandes via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:437e38db-b57a-4349-8bc4-0127c698dd7d@free.fr">
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<p><font size="4">I wrote a simple TableMorph to arrange kind
of BoxMorph in several rows. In -UI repo.<br>
</font></p>
</blockquote>
<p><br>
</p>
<p><font size="4">Do mean this package?</font></p>
<p><font size="4"><a class="moz-txt-link-freetext"
href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI/blob/main/lib/UI-Table.pck.st"
moz-do-not-send="true">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI/blob/main/lib/UI-Table.pck.st</a></font></p>
<p><font size="4">or this one?</font></p>
<p><font size="4"><a class="moz-txt-link-freetext"
href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI/blob/main/lib/UI-Panel.pck.st"
moz-do-not-send="true">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI/blob/main/lib/UI-Panel.pck.st</a><br>
</font></p>
<p><font size="4">--Hannes<br>
</font></p>
<blockquote type="cite"
cite="mid:437e38db-b57a-4349-8bc4-0127c698dd7d@free.fr">
<p><font size="4"> </font></p>
<p><font size="4">It does not work for PlacedMorph with
unknown extent. ie "TableMorph example2" does not work.<br>
</font></p>
<img moz-do-not-send="false"
src="cid:part1.aQOYy0yK.Xa8tK7wo@gmail.com"
alt="table morph" width="424" height="315" class=""></blockquote>
</blockquote>
<p>I have not looked into the code yet, but<br>
</p>
<p>I guess there is a need to add 'TableCellMorphs' of a width
given as an absolute value in each table row.</p>
<p>The actual content then is probably placed inside centered.</p>
<p>--Hannes<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:996d2c14-15b1-42ef-af63-1b3b3a43688e@gmail.com">
<blockquote type="cite"
cite="mid:437e38db-b57a-4349-8bc4-0127c698dd7d@free.fr">
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo"
moz-do-not-send="true">http://mamot.fr/@drgeo</a></pre>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
</blockquote>
</blockquote>
</body>
</html>