background image
c.
With the Option key still down and the pointer over the Amount in Other Currency text field, use
the arrow keys to nudge the button so that its center is aligned with the center of the text field, as
shown in Figure 4-7.
Figure 4-7
Measuring distances in Interface Builder
Add a Separator to Group Controls
The final interface for Currency Converter has a line separating the text fields and the button. To add the line
to the Currency Converter window:
1.
Drag a Horizontal Line object from the Library to the Currency Converter window.
2.
Drag the endpoints of the line until the line extends across the window, as shown in Figure 4-8.
Figure 4-8
Adding a horizontal line to the Currency Converter window
34
Creating the Currency Converter Window
2007-10-31 | © 2007 Apple Inc. All Rights Reserved.
CHAPTER 4
Defining the View: Building the User Interface