NSView/NSTableView question
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