[Cuis-dev] LayoutMorph separate padding and spacing

Bernhard Pieber bernhard at pieber.com
Sun May 12 23:00:45 PDT 2024


Hi Hilaire,

It turns out it must have been my email provider (Proton). If I download the file from the sent folder in my webmail it contains CRs. :-(

I attach a zipped version for convenience.

Bernhard

> Am 12.05.2024 um 23:31 schrieb Bernhard Pieber <bernhard at pieber.com>:
>
> Hi Hilaire,
>
> Thank you for your feedback.
>
> The line ending issue is very strange! I checked line endings before I sent it. The following still answers false:
> (DirectoryEntry savedChangeSetsDirectory at: '6359-LayoutMorphPaddingSpacing-BernhardPieber-2024May11-20h34m-bp.001.cs.st') includes: Character cr.
>
> If I install my ChangeSet in a new image it looks normal:
> <PastedGraphic-1.png>
>
> Also the following does not find any CR characters:
> grep -U $'\x0D' [6359-LayoutMorphPaddingSpacing-BernhardPieber-2024May11-20h34m-bp.001.cs.st](http://6359-layoutmorphpaddingspacing-bernhardpieber-2024may11-20h34m-bp.001.cs.st/)
>
> I sent the file by Apple Mail on macOS. If I download the file from my sent email grep still finds no CR characters. However, if I download the file from my email I received back from Cuis-dev it has CRLF line endings! :-O
>
> I am on maOS, in other words Unix, no Windows on my end. The only explanation I can think of is that it must have been the mailing list. Does anyone have any other ideas?
>
> Cheers,
> Bernhard
>
>> Am 12.05.2024 um 16:06 schrieb Hilaire Fernandes via Cuis-dev <cuis-dev at lists.cuis.st>:
>>
>> Hi Bernard,
>>
>> Interesting. Could have some use. For the dynabook school data editor, I set the spacing to 0 to pack as much as possible in a given space, but padding could help to distinguish block of input fields.
>>
>> It seems there are superfluous return characters in your code:
>>
>> <Capture d’écran du 2024-05-12 16-00-47.png>
>>
>> --
>> GNU Dr. Geo
>> http://gnu.org/s/dr-geo/
>>
>> http://gnu-drgeo.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240513/98457ea5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6359-LayoutMorphPaddingSpacing-BernhardPieber-2024May11-20h34m-bp.001.cs.st.zip
Type: application/zip
Size: 2765 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240513/98457ea5/attachment.zip>


More information about the Cuis-dev mailing list