Yep, its definitely the correct text field. Well there are many NSTextFields on the screen (each in a collection view item) and all of them resize in unison when the window is resized. It still is reporting 185 as the width. e.g.:
0x20046df80 Str: "“60 Unique 404 Error Pages” http://is.gd/5X43e (via @bluefaqs)", Frame: {{73, 12}, {185, 36}} Pretty stumped here. The only workaround that works is just getting the size of the window, and approximating the size of the text field relative to the window, but that's hardly accurate. Independent Cocoa Developer, Macatomy Software http://macatomy.com On 2010-01-09, at 11:09 PM, Joar Wingfors wrote: > NSLog(@"%p Str: \"%...@\", Frame: %@", self, [self stringValue], > NSStringFromRect([self frame])); _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
