[Cuis-dev] How do I get a form instance of a LayoutMorph instance? aMorph imageForm equivalent?
Juan Vuletich
juan at cuis.st
Fri Feb 28 07:41:58 PST 2025
On 2/28/2025 6:18 AM, H. Hirzel via Cuis-dev wrote:
> On 28/02/2025 10:33 am, Luciano Notarfrancesco via Cuis-dev wrote:
>
>> Maybe Morph>>imageForm:depth: ?
>>
> Yes, thank you Luciano; this is the solution. I was looking in the
> 'accessing' category, not the 'drawing' category.
>
> Interesting to note that I have to give the layout morph any initial
> extent so that it grows to the necessary morphExtent as needed by the
> submorphs added. If I do not do that I just get a morph of extent 50 at 40.
>
> That is a strange default behavior for a LayoutMorph object.
>
> --Hannes
>
>
Just pushed a few tweaks. No longer needed to set some extent. I also
added the more convenient #imageForm selector.
Thanks,
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
More information about the Cuis-dev
mailing list