• 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: app preferences top view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: app preferences top view


  • Subject: Re: app preferences top view
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 23 Jan 2002 13:31:21 +0100

On Wednesday, January 23, 2002, at 12:40 PM, Marco Scheurer wrote:

On Tuesday, January 22, 2002, at 07:05 pm, Mathieu Routhier wrote:

Could you be a little more explicit? I tried putting some NSImageCells
in a NSMatrix but it didn't seem to work (no display except some yellow
square when I was clicking on it).

What would you suggest, more precisely?

1) put a square "image" (the one with the smiling Mac) button in a window in InterfaceBuilder,
2) make it non bordered,
3) alt-drag it to transform it in an NSMatrix of cells,
4) drag an image in each cell and edit each cell's title.
5) connect your matrix target/action, probably to an NSTabView takeSelectedTabViewItemfromSender:

Here you are.

From: Stiphane Sudre <email@hidden>
I had made some tests using a NSMatrix and a custom NSCell and there were problems (not the same look or behavior, I don't remember exactly) which leaded to code a custom view for this purpose.

Don't know about that, never had these problems, and there's no need for a custom cell here.

Using your instructions, there are 2 cosmetic differences with the Preference slideView in PB, Mail, Terminal :
- the background is not white but stripped
- the selection is white and not gray.

Cosmetic behavior difference:
- when you click on an item, the button is pushed even if it's already selected.

I think I remember the problem with a custom cell was related to the drawing of the background of the cell after a series of selection/deselection.


  • Follow-Ups:
    • RE: app preferences top view
      • From: "Mathieu Routhier" <email@hidden>
References: 
 >Re: app preferences top view (From: Marco Scheurer <email@hidden>)

  • Prev by Date: Nib owner's outlets
  • Next by Date: Faster way to draw strings?
  • Previous by thread: Re: app preferences top view
  • Next by thread: RE: app preferences top view
  • Index(es):
    • Date
    • Thread