Parent Justification

Left and Right Justification

When you use parentRelativeLeft justification, the values of the left and right fields of viewBounds are measured from the left of the parent (see FIGURE 5.13).

When you use parentRelativeRight, they are measured from the right of the parent (see FIGURE 5.14) and thus are usually negative.

FIGURE 5.13 : parentRelativeLeft justification.


FIGURE 5.14 : parentRelativeRight justification.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996