• 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
About the NSTableView Corner View...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About the NSTableView Corner View...


  • Subject: About the NSTableView Corner View...
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 28 May 2002 17:54:09 +0200

The return of the NSTableView Corner View question.

Due to the lack of a working NSTableHeaderCell and NSTableHeaderView features to use them as a NSTableView Corner view solution, I'm currently using a subclass of NSControl with a NSActionCell as a NSTableView Corner View. This is working fine and correctly (except for some minor cosmetic issues with the not-approved-by-Apple Themes you can use on Mac OS X).

Now with the next major release I've just discovered that the width of the corner view is going to decrease. Since I'm using a picture to draw the background, I'm a bit annoyed and I tried using some code which was posted on this list or the Omni's one a while ago and which was using a subclass of NSTableHeaderCell and NSTableHeaderView for the cornerView another way I first did my tests.

The sad truth is that this is not working at all since the tint of the background is not at all the one used by the header column of the NSTableView. I tried to setState: NSOff/OnState, setEnabled:YES/NO, isFlipped:YES/NO, and in every case the tint is not correct so the question is:

Is there really a way to draw a NSTableView corner view properly under Mac OS X 10.1 which can be perfectly compatible with the next major release?
_______________________________________________
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.
  • Prev by Date: Loading external code
  • Next by Date: Controlling NSOutlineView selection after an Alert panel?
  • Previous by thread: Re: Loading external code
  • Next by thread: Controlling NSOutlineView selection after an Alert panel?
  • Index(es):
    • Date
    • Thread