[Cuis-dev] PaddedMorph preview

Juan Vuletich juan at cuis.st
Tue Sep 10 14:57:42 PDT 2024


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