• 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
Checkbox in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checkbox in NSTableView


  • Subject: Checkbox in NSTableView
  • From: Lisa Zorn <email@hidden>
  • Date: Tue, 22 Jan 2002 17:07:54 -0800 (PST)

Hello,

There have been some posts on this topic already which are pretty
useful, but I still have one remaining problem. I have an NSTableView
with checkboxes in one of the columns but I cannot get the checkboxes
to be centered. This seems like it should be trivial but as far as I
can tell, the NSButtonCell sizes itself to be the width of the column,
and does so by sizing the button title area to take up all the
remaining space. This is my guess for why the checkbox always appears
aligned with the column's left-hand edge. System preferences' Network
panel centers them; how can I?

Thanks,
-lisa
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/


  • Follow-Ups:
    • Re: Checkbox in NSTableView
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: Initializing an Array
  • Next by Date: 16-bits per channel tifs
  • Previous by thread: Re: replacing in strings
  • Next by thread: Re: Checkbox in NSTableView
  • Index(es):
    • Date
    • Thread