[Cuis-dev] ImageMorph padding

Mariano Montone marianomontone at gmail.com
Sat Sep 14 04:54:05 PDT 2024


ImageMorph also paints a background color too. I'd rather it didnt do it,
as that is not part of the image. So again either subclass from BoxMorph or
set it to transparent by default.

El vie, 13 de sept de 2024, 19:45, Mariano Montone <marianomontone at gmail.com>
escribió:

> Hi,
>
> I've not followed the Morph changes discussion closely, but I see that
> ImageMorph shows with a padding by default. That ruins some of my
> applications where I use ImageMorph.
>
> I could update my applications to the new Morphs but I think it would be
> better for ImageMorph to show no padding by default.
>
> You can observe this just by doing: ImageMorph new openInWorld.
>
> I'm also not sure if making ImageMorph subclass from BorderedBoxMorph
> makes sense, I think I would just subclass it from BoxMorph.
>
> Cheers,
>
>          Mariano
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240914/f885da1e/attachment.htm>


More information about the Cuis-dev mailing list