beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 103

background image

C H A P T E R 3

Views

About Views

3-19

Figure 3-7

View alignment effects (continued)

View Alignment effects2
Figure 3-7 continued
Basic Views / Newton Programmer's Guide
Frame size 410 points wide, 200 points deep.

Apple Computer Inc.
Peggy Kunz, Illustrator
Adobe Illustrator 5.0

Horizontal alignment of the view
relative to its parent view

Horizontal alignment of the view
relative to its sibling view

Parent

viewBounds:
{left:0. Top:25,
Right:175,
Bottom:75}

viewBounds:
{left:0. Top:100,
Right:175,
Bottom:150}

viewBounds:
{left:175.
Top:175, Right:0,
Bottom:225}

viewBounds:
{left:0. Top:250,
Right:0,
Bottom:300}

Sibling View

Each of the
paragraph views
has the same

viewBounds:

{Left:0,
Top:23,
Right:185,
Bottom:43}

Vertical alignment of the view
relative to its parent view

Vertical alignment of the view
relative to its sibling view

Parent View

vjParentTopV
viewBounds:
{left:5. Top:0,
Right:45,
Bottom:40}

vjParentCenterV
viewBounds:
{left:0. Top:100,
Right:175,
Bottom:150}

vjParentBottomV
viewBounds:
{left:105.
Top:40,
Right:145,
Bottom:0}

vjParentFullV
viewBounds:
{left:165.
Top:40,
Right:205,
Bottom:40}

Sibling View

Each of the
paragraph views
has the same

viewBounds:

{Left:31,
Top:0,
Right:215,
Bottom:20}