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