[Cuis-dev] Layout Problem

Juan Vuletich juan at jvuletich.org
Thu May 21 11:24:10 PDT 2020


Apologies for the delay, Dan.

I just went over this, implementd it also for vertical layout, and 
pushed to GitHub.

Please test.

Thanks,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich


On 5/12/2020 11:59 AM, Dan Norton via Cuis-dev wrote:
> Hi Juan,
>
> The attachment you sent:
>
> 4128-ProportionalLayoutEnh-JuanVuletich-2020Apr30-16h58m-jmv.002.cs.st
>
> fixed the problem but as of 4140 it is not in the base. Maybe it was
> supplanted by another 4128 change set?
>
>   - Dan
>
> On Thu, 30 Apr 2020 17:22:10 -0300
> Juan Vuletich via Cuis-dev<cuis-dev at lists.cuis.st>  wrote:
>
>> Hi Dan, Folks,
>>
>> On 4/30/2020 2:47 PM, Dan Norton via Cuis-dev wrote:
>>> Some time in recent months changes to Morphic have impacted the
>>> Construction game and other board games that I have in progress. Any
>>> StringMorph content, other than an empty string, causes the owner to
>>> expand horizontally. To see the problem, install Construction from
>>> the Games repo and do:
>>>
>>> Construction start in a workspace or from the New Morphs menu.
>>>
>>> The colored rectangles (LayoutMorphs) should align with the space
>>> descriptions beneath them but they do not.
>>>
>>> If in Construction>>showSeasons the StringMorph contents are set to
>>> '' then the colored rectangles align.
>>>
>>> Color me puzzled.
>> Those changes were to honor the minimum extent required by some
>> morph, even if that meant not honoring the proportional layout
>> correctly. The bug was doing that always, even if there is enough
>> room to honor the proportions.
>>
>> Please review and try the attach. If this looks reasonable, and
>> doesn't break stuff, we'll integrate (and also implement the same for
>> column layouts).
>>
>> Thanks,


More information about the Cuis-dev mailing list