News Software Download Buy Now About Us Developers Contact
7. InterfaceBuilder allows you to specify how objects behave when the window they are in is resized. In order for our ScrollView with our Text object to automatically fill the window, we need to set its "autosizing". IB allows to visually set these constraints. This eliminates us having to write code to deal with window size changes.

Choose "Size" from the pop-up menu at the top of the inspector. The Size inspector allows you to specify how objects behave when a user resizes the window. Lines mean "stays fixed", springs means "size to fit". click on the middle vertical and horizontal lines to allow the ScrollView to expand and contract with the window:

Created by Stone Design's Create on 3/12/1998
©2000 Stone Design top