<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 7/26/2023 8:37 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:e1359bfd-5eff-2c1a-4947-091f7690fcdb@free.fr"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hi Juan, <br>
</p>
<p>The text paragraph morph extent is not right by default, it is
a bit too large in height, observe read border of the text
paragraph below:<br>
</p>
<img moz-do-not-send="false"
src="cid:part1.07080408.04020709@cuis.st" alt="paragraph"
height="151" width="325">
<p>I can manually adjust it but it is may be not the expected
behavior.<br>
</p>
<p>Thanks</p>
<p>Hilaire<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 03/07/2023 à 22:03, Juan Vuletich
via Cuis-dev a écrit :<br>
</div>
<blockquote type="cite" cite="mid:64A32982.30708@cuis.st"> Just
pushed this before I forget.<br>
<br>
We can modify it later if needed.<br>
</blockquote>
</blockquote>
<br>
Hi Hilaire,<br>
<br>
This resulted in a few tweaks to TextParagraphMorph, that I already
pushed to GitHub. I added #setHeightOnContent that is off by
default. Please turn it on for these. It also needs to be turned on
for TextParagraphMorphs inside a PluggableScrollPane. The automatic
shrink on setting contents is also optional now (and off by
default). I think these options will make TextParagraphMorph useful
in a wider set of contexts. I also fixed #borderWidth: to adjust
appropriately.<br>
<br>
Please see the examples in the class comment, and report on any
problem you find.<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>