[Cuis-dev] PaddedMorph preview

Juan Vuletich juan at cuis.st
Wed Sep 11 06:26:25 PDT 2024


I've just pushed all the stuff to the repo.

Please review it and play with it. And let's talk today on how to fix / 
improve it!

Thanks,

On 9/10/2024 6:57 PM, Juan Vuletich via Cuis-dev wrote:
> On 9/10/2024 5:49 PM, ken.dickey at whidbey.com wrote:
>> Hmmm.. defaults seem to make this look funny.
>>
>> (ImageMorph new
>>     borderWidth: 6;
>>     borderColor: Color green;
>>     padding: 0) openInWorld.
>>
>> Image + border looks too small for extent.  Perhaps use attached? (NB 
>> Not quite right)
>>
>> Note:
>> (im := ImageMorph new
>>      borderWidth: 6;
>>      borderColor: Color green) openInWorld.
>> im padding: 0.
>> im padding: 3.
>>
>> Otherwise have to require morphExtent reset to minimumExtent in example?
>>
>> Perhaps just have ImageMorph class>>new not set non-zero extent.
>>
>> Something to chat about tomorrow.
>>
>> Cheers,
>> -KenD
>
> I agree with the change to #drawOn:.
>
> I have just finished another change set to adjust extent based on 
> changes to border or padding, that I haven't posted yet. Yes, let's 
> talk this tomorrow.
>
> Thanks,
>


-- 
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



More information about the Cuis-dev mailing list