[Cuis-dev] TAble Layout
H. Hirzel
hannes.hirzel at gmail.com
Wed Feb 12 12:06:28 PST 2025
On 12/02/2025 8:10 pm, Hilaire Fernandes via Cuis-dev wrote:
> Le 12/02/2025 à 18:59, H. Hirzel via Cuis-dev a écrit :
>>
>> 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.
>>
>> The example shown with a screen shot in this thread is
>>
>> TableMorph example1
>>
>> So it seems to behave like a simplified version of the Squeak TableLayout
>>
>> https://wiki.squeak.org/squeak/2340
>>
>> Which behaves more like a CSS Flexbox layout arrangement.
>>
>> The question is: what are the requirements for the TableMorph?
>>
>> Should the rows have aligned columns or not?
>>
> It may evolve but it fills my need now. Should be easy to add quite
> easily vertical alignment preferences.
>
> Likely the name TableMorph is misleading and should be changed. It
> behaves more like a strip/ribbon/tape. In French I will rename it
> RubanMorph because its submorphs can flow on several lines. Opinion in
> English? Should it be StripMorph, TapeMorph or RibbonMorph?
>
I think none of them. Above I wrote it is like the Squeak TableMorph
LayoutManager which I maintain.
I think it is rather like the Java FlowLayout
https://docs.oracle.com/javase/tutorial/uiswing/layout/flow.html
So maybe FlowLayoutMorph?
--Hannes
>> I guess both use cases have applications.
>>
> Yes
> --
> http://mamot.fr/@drgeo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250212/922e49c9/attachment.htm>
More information about the Cuis-dev
mailing list