• 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
Setting the background color of an NSBrowser column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting the background color of an NSBrowser column


  • Subject: Setting the background color of an NSBrowser column
  • From: Graham <email@hidden>
  • Date: Thu, 15 Jun 2006 06:05:58 -0400

In my browser I need to be able to set the background color of certain columns.

I have a delegate that provides the data for the columns in its createRowsForColumn method. In this method, the column's matrix has not yet been added into the display hierarchy.

Setting the background color of the matrix is not sufficient since, if the matrix is shorter than the height of the browser view then the remaining space in the column below the matrix paints in the default background color of the scrollview (white).

[I see that the matrix in a column is inside a clipview which is inside a scrollview]

My question is: what is the correct way, and time, to set the scrollview's background color in a column in order to get the full column height drawn in my color?

Thanks

Graham

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Difference in relationships storage between various storage options (CoreData)
  • Next by Date: Re: Question about Saving a document
  • Previous by thread: Re: Disallow edit for rows in NSOutlineView
  • Next by thread: Single bottleneck for all Array controller selection changes?
  • Index(es):
    • Date
    • Thread