• 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: Getting the background colour for NSBox?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the background colour for NSBox?


  • Subject: Re: Getting the background colour for NSBox?
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 13 Sep 2004 14:43:52 -0400

Andore (email@hidden) on Mon, Sep 13, 2004 14:05 said:

>NSTextView (or any view) needs to return isOpaque to return NO;
>Then the black square will be transparent.

Thanks Andore!  I subclassed NSTextView and tried this, but I still get a
black rectangle. :(

But in any case, if I take this approach, I must use 'CustomView' in IB,
right??

If I do that, I loose the ability to set bindings in IB, and all the
other properties of NSTextView.  I could do it programatically of course,
but I prefer IB.

Since no one has said anything, I assume NSColor is lacking a method
similar to windowFrameColor but for NSBox?  That would be perfect.
Perhaps the Carbon Appearance Manager can provide this colour?

Thanks!



 _______________________________________________
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

  • Follow-Ups:
    • Re: Getting the background colour for NSBox?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: [Moderator] Re: New ML List Software
  • Next by Date: iPhoto Style table view
  • Previous by thread: Re: Getting the background colour for NSBox?
  • Next by thread: Re: Getting the background colour for NSBox?
  • Index(es):
    • Date
    • Thread