• 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
Re: [self frame].size.width reporting incorrectly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >[self frame].size.width reporting incorrectly (From: PCWiz <email@hidden>)
 >Re: [self frame].size.width reporting incorrectly (From: Joar Wingfors <email@hidden>)
 >Re: [self frame].size.width reporting incorrectly (From: PCWiz <email@hidden>)

  • Prev by Date: Re: Application defaults and toolbar items
  • Next by Date: RE: iCal-style NSTextFields
  • Previous by thread: Re: [self frame].size.width reporting incorrectly
  • Next by thread: Coloring a Row in a NSTableView.
  • Index(es):
    • Date
    • Thread