Definitive guide to sizing and positioning Morphs?
John Tobler
squeakie at visto.com
Fri Oct 29 06:37:34 UTC 1999
Can some kind soul please point me to a useful reference
for understanding how to control nested morph sizing and
placement (particularly for AlignmentMorph and subclasses
based upon it)?
Example problems:
1. Construct a resizable box that will contain
several other morphs. Place a morphic "color
bar" across the top such that its height is
always 10% of the total height of the containing
box.
2. Construct a resizable box containing two
"row" morphs. The top row is to contain
three buttons (morphs) labelled "left,"
"middle," and "right" -- one flush left,
one centered, and one flush right.
How does a Morphic Wizard approach such problems? Which
sizing and positioning tools are the equivalent of a
handyman's level, square, hammer, screwdriver, baling wire,
and duct tape?
Has anyone already summarized this somewhere?
Blessings!
John Tobler
______________________________________________________________________
Get Visto.com! Private groups, event calendars, email, and much more.
Visto.com. Life on the Dot.
Check it out @ http://www.visto.com/info
More information about the Squeak-dev
mailing list
|