Ah, thank you. I think I knew that bounds and frame had different
uses...hopefully this time that information will stick.
And, yes, it worked.
On Feb 23, 2009, at 5:14 PM, Nate Weaver wrote:
Try setting the frame of the field/field editor instead (doing unit
conversions if necessary). When
Here's a sample application demonstrating the problem:
http://ericgorr.net/cocoadev/label/ItemDevLabel.zip
When I click in the label, I start an editing session. However, the
height of the label can contain two lines of text. When the editing
session begins, I would like just a single line
Try setting the frame of the field/field editor instead (doing unit
conversions if necessary). When you change the bounds of something
explicitly, you end up changing the drawing transformation as well
(see under setBounds: and friends).
This has bitten me in the butt before (recently!).