• 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
unbordered nscombobox are drawn 4 pixels below
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unbordered nscombobox are drawn 4 pixels below


  • Subject: unbordered nscombobox are drawn 4 pixels below
  • From: "heri rakotomalala" <email@hidden>
  • Date: Tue, 26 Apr 2005 16:24:19 +0200

I am using a tableView with tablecolumns set programmatically (because the tableView must display different kinds of data)

I wanted to use nscomboboxes, but because the tableView looked so cluttered afterwards, i set setButtonBordered, setBordered and drawsBackground to NO. the NStableview now displays nice white nscomboboxes cells.

The problem is that the comboboxes cells are not aligned (horizontally) with the other data cells. They are drawn about 4 pixels below (maybe 3), as if the app wanted still to draw the bleu aqua button behind. It looks ugly because the combobox' text is cut off by the the row below.

How can I tell the NSComboBoxCell to draw itself 4 pixels higher in each row?

Thanks a lot, I have been working on this for 2 weeks and couldn't find how to correct this.

Heri


_______________________________________________ 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: unbordered nscombobox are drawn 4 pixels below
      • From: James Dessart <email@hidden>
  • Prev by Date: Re: How to get the CGDirectDisplayID?
  • Next by Date: Re: determining front most document?
  • Previous by thread: Re: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug?
  • Next by thread: Re: unbordered nscombobox are drawn 4 pixels below
  • Index(es):
    • Date
    • Thread