Ratio Justification
First child:
viewJustify
topRatio, bottomRatio
viewBounds
viewJustify
topRatio, bottomRatio
viewBounds
viewJustify
topRatio, bottomRatio
viewBounds
FIGURE 5.28 : A parent view with three children partitioning it.
top
and bottom
slots of viewBounds
are treated as percentages (due to the two ratio justifications) of the parent height. Therefore, the vertical viewBounds
are interpreted as ranging from 0% to 33%, 33% to 66%, and 66% to 100% of the parent's height.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996