On Oct 23, 2008, at 11:17 AM, Eric Gorr wrote:
Once the window appears, resize the window to the smallest height you can and then resize back to the original height.

What you will see happen is the 'Label' disappear.

You have the text field set to grow and shrink in proportion to its superview. In the Size inspector, note the red double-ended horizontal arrow inside the box. In the parlance of struts and springs, that is a "spring." Click that spring to turn it off, and also turn off the strut on the right side outside the box. In other words, only have two struts turned on: the ones on the top and left. This will give you a text field that maintains its size and its position relative to the top left corner. If you look at the animated preview you will see the consequence of each of these changes in real time.

The reason the label disappears is that when you make the window small, the text field's width scales to zero. When you expand the window again, IB scales the width accordingly (as you specified) -- except now it's scaling zero, which always returns zero.

--Andy


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to