• 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
Change Background Color of IKImageBrowserView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change Background Color of IKImageBrowserView


  • Subject: Change Background Color of IKImageBrowserView
  • From: "Michael Hanna" <email@hidden>
  • Date: Sat, 12 Jan 2008 17:55:52 -0800

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
_______________________________________________

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

  • Follow-Ups:
    • Re: Change Background Color of IKImageBrowserView
      • From: Thomas Goossens <email@hidden>
  • Prev by Date: Re: Trying to use NSStream
  • Next by Date: Using NSWindow in a dynamically loaded binary / memory issues
  • Previous by thread: NSPopupButtonCell alignment
  • Next by thread: Re: Change Background Color of IKImageBrowserView
  • Index(es):
    • Date
    • Thread