Hi Rick, On May 22, 2012, at 9:14 PM, Rick C. <rickcort...@gmail.com> 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 (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/corbind%40apple.com > > This email sent to corb...@apple.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com