• 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
Re: Background color for Drawers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Background color for Drawers


  • Subject: Re: Background color for Drawers
  • From: Steve Sheets <email@hidden>
  • Date: Mon, 14 Jun 2004 09:04:26 -0400

On Jun 14, 2004, at 5:16 AM, Jeremy Dronfield wrote:

You can set your drawer's contentView to any view you like. Create a custom view and draw your pattern (pattern?!) in its -drawRect: method.

Jeremy,
That was what i was trying to describe in my original posting. I was just hoping for a simpler solution (something like the window set background color).

Steve

ps Yes, I meant Pattern. I create a NSColor using a NSImage as the repeating pattern.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Background color for Drawers (From: Steve Sheets <email@hidden>)
 >Re: Background color for Drawers (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Button for switching mode/tools for NSToolbar
  • Next by Date: Re: Button for switching mode/tools for NSToolbar
  • Previous by thread: Re: Background color for Drawers
  • Next by thread: NSButton/setEnabled:
  • Index(es):
    • Date
    • Thread