[Cuis-dev] [ChangeSet] TextParagraphMorph
Juan Vuletich
juan at jvuletich.org
Tue Nov 30 09:32:04 PST 2021
On 11/28/2021 5:41 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> Here is a supplementary fix, to let the border be drawn over the text
> when the morph extent is too small to contain the whole text.
>
> In that circumstance I observe one line drawn below the morph extent:
>
> Hilaire
>
>
> Le 27/11/2021 à 13:25, Juan Vuletich a écrit :
>> Hi Hilaire.
>>
>> The way for text not to overwrite the border is to give the
>> TextComposition the appropriate extent. Just pushed to GitHub an
>> update that includes this together with your fix.
>>
>> Thanks,
> --
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu
Thanks. I tweaked your code to also avoid the last line if it can't be
shown complete. Now at GitHub.
Cheers,
--
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211130/4c2dad20/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2485 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211130/4c2dad20/attachment-0001.png>
More information about the Cuis-dev
mailing list