<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">Ken, <br>
</font></p>
<p><font size="4">Thanks for the fix. <br>
</font></p>
<p><font size="4">In the mean time I coded another strategy, but it
is nice to get it fixed.</font></p>
<p><font size="4">(for the curious, what reveals the now fixed issue
<a class="moz-txt-link-freetext" href="https://twitter.com/GNUDrGeo/status/1513995324297297924">https://twitter.com/GNUDrGeo/status/1513995324297297924</a>)<br>
</font></p>
<p><font size="4">I find Cuis, Layout and Widget surprisingly
pleasant to code with. It is very predictable and it is a nice
plus. I fell more comfortable coding with Cuis than Pharo.</font></p>
<p><font size="4">Thanks</font></p>
<p><font size="4">Hilaire</font><br>
</p>
<div class="moz-cite-prefix">Le 13/04/2022 à 22:16,
<a class="moz-txt-link-abbreviated" href="mailto:ken.dickey@whidbey.com">ken.dickey@whidbey.com</a> a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:3f15f9105d72f9a40a32e52745762f0a@whidbey.com">On
2022-04-12 12:12, Hilaire Fernandes via Cuis-dev wrote:
<br>
<br>
<blockquote type="cite" style="color: #999999;">The following code
put Cuis in an infinite loop. .. (ZeroDivideLayout.txt)
<br>
</blockquote>
<br>
Hilaire,
<br>
<br>
Thanks much for reporting this!
<br>
<br>
The loop is caused by a zero divide error in
##PlacedMorph>>allocHeightForFactor: during a redraw.
<br>
<br>
Fix is attached.
<br>
<br>
Juan, please review and integrate.
<br>
<br>
I set a minimum proportional value to 0.01 (1%) and a minimum
fixed value to 2 (pixels).
<br>
<br>
You may wish to use other default values.
<br>
<br>
Cheers,
<br>
-KenD
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>