Interface Builder, springy objects and TextField behaviour
Interface Builder, springy objects and TextField behaviour
- Subject: Interface Builder, springy objects and TextField behaviour
- From: P Teeson <email@hidden>
- Date: Thu, 3 Nov 2005 12:44:20 -0500
Using OS X 10.4.2 Xcode 2.2
I'm not sure if this belongs on Cocoa or in IB so I am posting to both.
In IB I have bumped into something that doesn't make sense to me.
Consider a single window with a Text field object wide enough that re-
sizing the window will bring the right hand edge over the Text field.
Go to the Size panel in the inspector and set the horizontal springs
outside the object to springy.
Test the interface and re-size the window so that the right hand edge
moves to the left and over the Text field.
Now re-size the window wider.
On my system the Text field has become stuck to the window's RHS.
This is counter intuitive to me. I would have expected that
"... the object proportionately adjusts the distance between it's
edge and the enclosing object's edge".
as per the documentation in IB help which states the above on the
subject of Automatically Moving and Sizing Objects.
This same behaviour occurs when I run my app.
Is this a bug in the underlying behaviour of the Text field?
Or is it a feature? If so why?
Other objects do not behave this way so far as my testing goes.
Buttons and TextViews do not behave this way.
If it's a bug what is the workaround?
respect....
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden