<!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 12/2/2021 5:34 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:94e27f75-fd67-4e7c-97f6-8ec6b175ae8a@drgeo.eu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Le 30/11/2021 à 19:51, Juan Vuletich
a écrit :<br>
</div>
<blockquote type="cite" cite="mid:61A67296.4090906@jvuletich.org"><br>
The first version I tried did that, and also avoided the last
line even if just the white space below the glyphs was at risk.
But when resizing the example, it looked like it was removing
the last line "too early", when it could still be displayed
perfectly.<br>
<br>
The version I pushed only avoids the last line only if the
baseline (the bottom of regular glyphs) would lie outside
bounds. This means that occasionally glyph descenders could go
outside bounds. That's why I kept the "border over text" code.
Anyway, the difference is minimal, and the inherited version
would also be ok.<br>
</blockquote>
<p>Ok fine.</p>
<p>I observe two annoyances when the TextParagraphMorph has a
border and it is added to a Scroller:</p>
<img moz-do-not-send="false"
src="cid:part1.05000005.04000300@zoho.com" alt="" height="73"
width="343">
<ul>
<li>The scroller does not scroll to the last line. Here you see
after '...to a line,' the next line is missing. The issue goes
away when you set the TextParagaphMorph's borderWidth to 0.<br>
</li>
<li>The ScrollBar is too too small to show the up and down
arrows, in that circumstance it will be super cool to not add
the up/down or left/right arrows. <br>
</li>
</ul>
<p>I try to fix the former issues, without success. The later one
requires more work<br>
</p>
<p>Hilaire<br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
Both fixed now. Updates @ GitHub. Please test.<br>
<br>
Thanks for reporting!<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</body>
</html>