Setting the background color of an NSBrowser column
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