• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Interface Builder, springy objects and TextField behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [Moderator] Re: Cocoa Developer wanted [...]
  • Next by Date: Re: NSOpenPanel and showing file name's
  • Previous by thread: Re: Quality of icons in table view
  • Next by thread: [MEET] Next CocoaHeads November 8th and 10th
  • Index(es):
    • Date
    • Thread