FROM : Michael Hanna
DATE : Sun Jan 13 02:55:52 2008
Is there a way to change the background color of an IKImageBrowserView
to something other than white?
I've tried subclassing it and doing this in -drawRect:
- (void)drawRect:(NSRect)rect {
[super drawRect:rect];
[[NSColor blackColor] set];
[NSBezierPath fillRect:rect];
}
but doesn't seem to make a difference..
Michael
DATE : Sun Jan 13 02:55:52 2008
Is there a way to change the background color of an IKImageBrowserView
to something other than white?
I've tried subclassing it and doing this in -drawRect:
- (void)drawRect:(NSRect)rect {
[super drawRect:rect];
[[NSColor blackColor] set];
[NSBezierPath fillRect:rect];
}
but doesn't seem to make a difference..
Michael
| Related mails | Author | Date |
|---|---|---|
| Michael Hanna | Jan 13, 02:55 | |
| Thomas Goossens | Jan 13, 11:58 | |
| Michael Hanna | Jan 13, 20:45 |






Cocoa mail archive

