On Saturday, October 5, 2002, at 01:33 PM, Rich Morin wrote: > DS>Text fields wrap automagically. Size them to the largest they should > DS>be in IB, and Cocoa will take care of wrapping and clipping when the > DS>text is displayed. > > That's not the behavior _I'm_ seeing. If I type a series of letters and > spaces (e.g., "a s d f ..." into my NSTextField, the line of text slides > over to the left when I hit the right-hand border.
In Interface Builder, while your text field is selected, choose the "Attributes" pane in the info panel. In the bottom right is group of radio buttons. Selecting "scrollable" (the default) behaves as you describe; selecting "wraps" causes the text to automagically wrap and clip as needed. sherm--
