If the size attributes are left with the default values, the size of the button will be fixed (i.e. same in landscape and portrait), and equal to the size you have set in Interface Builder. In the Size inspector, if you click outside of the autoresize box so that the I-bars are bright red the button will maintain a fixed distance from the top and left edges of the window. If either of the inner arrows is clicked to become bright red the button will also resize in the axis of the arrow, and maintain a fixed distance from the window edges the arrow points to. Also, as silly as this comment seems, it is also important that the correct object in Interface Builder is selected when playing around with these changes.
It is worth taking the time to see how the different options of I-bars and arrows affect the interface. This example uses a fixed window size (affected only by the orientation) and the I-bars impact is more noticeable when the window containing the object can also be resized.
I would revisit the project that is not working correctly and compare the various settings to the one that behaves the way you would like. For me I-bar on top, left and right, and horizontal arrow produce the most consistent view.
|