[Q] Morphic strategies
Ned Konz
ned at bike-nomad.com
Tue May 20 20:42:27 UTC 2003
On Tuesday 20 May 2003 01:08 pm, Brian Brown wrote:
> My question relates to the ways of laying out groupings of
> morphs within an "application". Simplistically I would create a
> RectangleMorph or PasteUpMorph, give it a TableLayout (#leftToRight
> for example) and then add Morphs with I would intend to be
> containers for text, buttons etc.... so this strategy is to use
> multiply nested Morphs with appropriate Layouts in order to arrange
> the elements in the way I want them.
That's one way to do it.
> Is the how people do this in Morphic? If so, how would I deal with
> dynamically sizing those element?
By combinations of hResizing and vResizing settings (#spaceFill,
#shrinkWrap, or #rigid).
> I've see a couple of examples
> using proportional layout, but when I start from scratch I can't
> seem to lay things out as I wish, it seems that I am missing
> something fundamental as to the logic.
Proportional layout is also easy to do.
Can you show us what you've tried to do?
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|