• 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: group row custom drawing nstableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: group row custom drawing nstableview


  • Subject: Re: group row custom drawing nstableview
  • From: "Rick C." <email@hidden>
  • Date: Sat, 26 May 2012 12:30:09 +0800

Was able to get it working thanks again!

rc



On May 24, 2012, at 12:10 AM, Corbin Dunn wrote:

> Hi Rick,
> On May 22, 2012, at 9:14 PM, Rick C. <email@hidden> wrote:
>
>> Hi,
>>
>> I'm having some trouble doing a custom drawing for my group row in a view-based nstableview.  First of all I subclassed NSTableRowView is this correct?
>
> Yes, that is correct.
>
>> And if so the problem I'm having is to recreate the floating effect which normally happens automatically if using a standard NSTableCellView.  I'm able to get the isFloating property, but I'm not sure what's the correct way to make the row float (setAlpha?) without making the text "float" as well?  Any pointers to get me going in the right direction here would be much appreciated.  Thanks!
>
> I'm not sure what you mean...you simply can draw (override the drawBackground method) with an non-1.0 alpha color and the row will appear translucent (only when floating).
>
> corbin
>
>>
>> rc
>> _______________________________________________
>>
>> 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

References: 
 >group row custom drawing nstableview (From: "Rick C." <email@hidden>)
 >Re: group row custom drawing nstableview (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: NSTextInputClient Protocol Question
  • Next by Date: DisplayName not shown
  • Previous by thread: Re: group row custom drawing nstableview
  • Next by thread: NSMutableData capacity
  • Index(es):
    • Date
    • Thread