• 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
NSView/NSTableView question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView/NSTableView question


  • Subject: NSView/NSTableView question
  • From: Peter Hudson <email@hidden>
  • Date: Sun, 05 Dec 2010 20:58:36 +0000

If the size of the table permits, when the table is empty, have the datasource return for one cell the string "Drop Files Here"
When the user has dropped a file, you can adjust what the datasource returns to not show the string.


Further games with setting the row height and using an attributed string for "Drop Files Here" will allow you to easily use a suitable font and color with very little effort.

Peter
_______________________________________________

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: NSView/NSTableView question
      • From: "Rick C." <email@hidden>
  • Prev by Date: Re: label color
  • Next by Date: Re: label color
  • Previous by thread: Re: NSView/NSTableView question
  • Next by thread: Re: NSView/NSTableView question
  • Index(es):
    • Date
    • Thread