Re: NSView/NSTableView question
Re: NSView/NSTableView question
- Subject: Re: NSView/NSTableView question
- From: "Rick C." <email@hidden>
- Date: Mon, 6 Dec 2010 06:42:07 +0800
Great thanks for the replies. I was also thinking about this but I might try to add a little bit of graphics too using NSBezierPath would it still work? But at least these 2 ideas can keep me going until I get this working right. Thanks!
On Dec 6, 2010, at 4:58 AM, Peter Hudson wrote:
> 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
_______________________________________________
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