[Cuis-dev] Morph render leftovers when dragging the mouse

Juan Vuletich juan at jvuletich.org
Wed Jul 28 08:17:37 PDT 2021


On 7/27/2021 10:49 AM, ken.dickey--- via Cuis-dev wrote:
> On 2021-07-26 19:01, Juan Vuletich via Cuis-dev wrote:
> ..
>> WRT your other question (I completely missed it earlier today), no. 
>> Cuis doesn't include "shrink wrap" morphs. I guess it shouldn't be 
>> difficult to implement it for your own morph. Cuis Layouts are based 
>> on the opposite idea: each morph decides the location and maybe 
>> extent of its submorphs.
>
> Note that implementing shrink wrap is darn easy.  Just use a 
> containing LayoutMorph and set its morphExtent to
>    LayoutMorph>>minimumExtent
>
> FYI,
> -KenD

Great insight. Ken, you officially know more about Cuis Layouts than me!

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



More information about the Cuis-dev mailing list