<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi, do you think it would be useful to add a comment in the method?<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 15 Apr 2019, at 10:59, Fernando Gasperi Jabalera via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" class="">cuis-dev@lists.cuis.st</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Hi Thierry,<div class=""><br class=""></div><div class="">as Hernan pointed out, it's only use is in LayoutMorph>>#calculateMinimumExtent and it matches the comment found in the body of the method:</div><div class=""><br class=""></div><div class=""><div class=""><i class="">This is the number of pixels to add to internal minimum to calculate my minimumExtent. I don't have to do anything here. This is the default for my subclasses.</i></div></div><div class=""><i class=""><br class=""></i></div><div class="">Morphs may shrink when resized but they have a minimum extent, they won't be displayed smaller than that minimum extent. You can think of it extent as the minimum size they require to be displayed without loosing it's meaningful representation. For example, if the morph represents a table with 4 legs and if shrinked past some threshold its legs disappear it stops representing the table it supposes to represent. The minimum extent tries to prevent this. </div><div class="">Coming back to your question, an extentBorder that by default returns 0 means that the border of the morph is not part of the essence of the morph. If a morph always requires its borders to be displayed because they are part of what it represents then it should redefine this message with the minimum meaningful extent of the borders.</div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 15, 2019 at 8:55 AM Hernan Wilkinson via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" class="">cuis-dev@lists.cuis.st</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div dir="ltr" class="">That message is being sent in LayoutMorph>>#calculateMinimumExtent </div><div class="">My guess, I have not tried it yet, is that if you want a Morph with a bigger border you just have to redefine that message with number of pixels that you want the border to have</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 14, 2019 at 12:31 PM Thierry Goubier via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank" class="">cuis-dev@lists.cuis.st</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi guys,<br class="">
<br class="">
what is<br class="">
<br class="">
Morph>>#extentBorder<br class="">
<br class="">
used for? The only implementation is in Morph, and it allways return 0.<br class="">
<br class="">
Thanks,<br class="">
<br class="">
Thierry<br class="">
-- <br class="">
Cuis-dev mailing list<br class="">
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank" class="">Cuis-dev@lists.cuis.st</a><br class="">
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank" class="">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br class="">
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail-m_-6073519926199698973gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse" class=""><strong class=""><span style="font-size:8pt" class=""><span class=""><span style="font-size:small" class=""><font size="2" class=""><span style="font-weight:normal" class=""><span style="font-weight:bold" class="">HernĂ¡n Wilkinson</span><br class="">Agile Software Development, Teaching & Coaching</span></font></span></span></span></strong></span></div><div class=""><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse" class=""><strong class=""><span style="font-size:8pt" class=""><span class=""><span style="font-size:small" class=""><font size="2" class=""><span style="font-weight:normal" class="">Phone: +54-011</span></font></span></span></span></strong></span><font face="tahoma, sans-serif" size="2" class="">-4893-2057</font></div><div class=""><strong style="font-family:tahoma,sans-serif;font-size:xx-small" class=""><span style="font-size:8pt" class=""><span style="font-size:small" class=""><font size="2" class=""><span style="font-weight:normal" class="">Twitter: @HernanWilkinson</span></font></span></span></strong></div><div class=""><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse" class=""><strong class=""><span style="font-size:8pt" class=""><span class=""><span style="font-size:small" class=""><font size="2" class=""><span style="font-weight:normal" class="">site: <a href="http://www.10pines.com/" style="color:rgb(17,65,112)" target="_blank" class="">http://www.10Pines.com</a></span></font></span></span></span></strong></span></div><div class=""><font face="tahoma, sans-serif" class=""><span style="border-collapse:collapse" class="">Address: Alem 896</span></font>, Floor 6, Buenos Aires, Argentina</div></div></div></div></div></div></div></div></div></div></div></div>
-- <br class="">
Cuis-dev mailing list<br class="">
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank" class="">Cuis-dev@lists.cuis.st</a><br class="">
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank" class="">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br class="">
</blockquote></div>
-- <br class="">Cuis-dev mailing list<br class=""><a href="mailto:Cuis-dev@lists.cuis.st" class="">Cuis-dev@lists.cuis.st</a><br class="">https://lists.cuis.st/mailman/listinfo/cuis-dev<br class=""></div></blockquote></div><br class=""></body></html>