<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 9/14/2024 8:54 AM, Mariano Montone via Cuis-dev wrote:
<blockquote
cite="mid:CAHKx1MiRfQUPN5EU-pd5m6bMCmtY0BW9UyF-0nfoeF7BSUiUYQ@mail.gmail.com"
type="cite">
<div dir="auto">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.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">El vie, 13 de sept de 2024,
19:45, Mariano Montone <<a moz-do-not-send="true"
href="mailto:marianomontone@gmail.com">marianomontone@gmail.com</a>>
escribió:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi,<br>
<br>
I've not followed the Morph changes discussion closely, but I
see that <br>
ImageMorph shows with a padding by default. That ruins some of
my <br>
applications where I use ImageMorph.<br>
<br>
I could update my applications to the new Morphs but I think
it would be <br>
better for ImageMorph to show no padding by default.<br>
<br>
You can observe this just by doing: ImageMorph new
openInWorld.<br>
<br>
I'm also not sure if making ImageMorph subclass from
BorderedBoxMorph <br>
makes sense, I think I would just subclass it from BoxMorph.<br>
<br>
Cheers,<br>
<br>
Mariano<br>
<br>
</blockquote>
</div>
</blockquote>
<br>
Hi Mariano.<br>
<br>
I changed default border and padding to be zero. Check #drawOn:, it
won't draw background unless needed.<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
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</pre>
</body>
</html>