• 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: Field editor in view-based table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Field editor in view-based table


  • Subject: Re: Field editor in view-based table
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 28 Apr 2013 18:00:02 -0700

On Fri, Apr 12, 2013, at 10:58 PM, Martin Hewitson wrote:
> Dear list members,
>
> I have an NSTextField in a row view of a view-based tableview and I see
> the following behavior:
>
> 1)  to get the field editor to show I have to single click the text field
> and wait about 1s.

Do you have a double-click action specified for the table view? If so,
NSTableView needs to wait to determine whether to send the click to the
hit view.

> 2) The field editor only shows if I click on a part of the text field
> where this is text already, but if I click to the right of the current
> text (but still within the text field) nothing happens.

Are your text view's constraints/autoresizing mask set up correctly to
stretch with the cell view?

> 3) Double-clicking directly in the textfield does nothing.

This might be related to the aforementioned double-click behavior.

> 4) If the row is not selected, and I single click in the textfield, the
> row is selected, but the field editor is not shown

This is standard behavior for table views.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: Field editor in view-based table
      • From: Martin Hewitson <email@hidden>
References: 
 >Field editor in view-based table (From: Martin Hewitson <email@hidden>)

  • Prev by Date: Re: UITableViewCell with variable height
  • Next by Date: Re: ^Block statement considered harmful for callbacks?
  • Previous by thread: Field editor in view-based table
  • Next by thread: Re: Field editor in view-based table
  • Index(es):
    • Date
    • Thread