Re: [self frame].size.width reporting incorrectly
Re: [self frame].size.width reporting incorrectly
- Subject: Re: [self frame].size.width reporting incorrectly
- From: "Paul Sanders" <email@hidden>
- Date: Sun, 10 Jan 2010 19:44:05 -0000
I don't know if this is relevant, and I have not been following
this discussion, but an NSTextField is temporarily 'overlayed'
with an NSTextView (the field editor) while it has keyview
status. This is all covered in the docs somewhere. Maybe there
is a clue there for you.
OK, I found a relevant link. Here you go:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/TextArchitecture/Concepts/TextFieldsAndViews.html
Paul Sanders.
----- Original Message -----
From: "PCWiz" <email@hidden>
To: "Joar Wingfors" <email@hidden>
Cc: <email@hidden>
Sent: Sunday, January 10, 2010 5:21 PM
Subject: Re: [self frame].size.width reporting incorrectly
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.:
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden