CHAPTER 2
Container Views
2-6 How Views Look
View Border 2
Every container view is framed by a border. (A border is not visible if its
view fills the screen.) Primarily, a view’s border serves to demarcate what’s
in the view and what’s not. Secondarily, certain borders identify special
types of container views.
In general, Newton views are rectangular and have rounded corners.
Use square-cornered borders only when you have a specific need for a
particular look.
A view’s border is not visible if the view completely covers the screen. For
example, a MessagePad 120 user does not see the border of a view that
measures 240 × 320 pixels. The view has a border, but it is off-screen.

Matte Border 2

The most common type of view border, called a matte border, consists of a
thick gray band edged on the outside by a thin black line. Users expect views
with matte borders to be movable (see “Moving a View” on page 2-33).
Figure 2-4 shows the matte border.
Figure 2-4 A matte border indicates a movable view
On an Apple MessagePad a standard matte border is five pixels thick with a
corner roundness of five pixels and an inset of one pixel.
R
ounded corners