• 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
Border around NSMatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Border around NSMatrix


  • Subject: Border around NSMatrix
  • From: Hans van der Meer <email@hidden>
  • Date: Wed, 6 Sep 2006 17:15:50 +0200

PROBLEM:
In drawing a border around the cells (C) in an NSMatrix with intercell spacing (s) I find the following distribution of cells and spacing:


C s C s ..... Cs
s
...
C s C s ..... Cs
s

There is intercell spacing to the right and to the bottom of the matrix block, but not to the left and to the right.
This makes it impossible to draw a framing border inside the matrix block.


QUESTION:
How can I force the drawing origin to half the intercell spacing below the top and to the right in order to make space for a border of that size?
Or should a (tight) border around the matrix contents be drawn otherwise?


Hans van der Meer




_______________________________________________ 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
  • Prev by Date: Re: Unconventional memory leak problem
  • Next by Date: Re: Is it possible that PreferencePane's share "classes name space"?
  • Previous by thread: Re: Using WSMakeStubs generated files
  • Next by thread: Help Linking To A Framework
  • Index(es):
    • Date
    • Thread