The View: -resize method takes nine different values as argument defining the behavior of the view when the containing window is resized. Each view responds relatively to the stretches of its parent view.
- 1 - fixed to left, fixed to top
- 2 - horizontally elastic, fixed to top
- 3 - fixed to right, fixed to top
- 4 - fixed to left, vertically elastic
- 5 - horizontally elastic, vertically elastic
- 6 - fixed to right, vertically elastic
- 7 - fixed to left, fixed to bottom
- 8 - horizontally elastic, fixed to bottom
- 9 - fixed to right, fixed to bottom