What's the proper way to affect/construct padding or margins for Morphs?
I've never really wrangled it and have just been using a separate margin
insets property in the morphs I use for layout.
I'm accustomed to using Insets from Swing. In Lively, it looks like I need
to be using Rectangle.insetBy or Rectangle.expandBy.

If I simply assign a Rectangle as padding - e.g. new Rectangle(0, 50, 0, 0)
- that adds 50 pixels of padding to the top *and* to the bottom (TextMorph).
Is this the proper behavior?

I am currently investigating this - but still want to ask.

Thanks,
Phil
_______________________________________________
General mailing list
[email protected]
http://livelykernel.sunlabs.com/mailman/listinfo/general

Reply via email to