• 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: NSComboBoxCell text baseline - two pixels too low
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBoxCell text baseline - two pixels too low


  • Subject: Re: NSComboBoxCell text baseline - two pixels too low
  • From: Bill Coleman <email@hidden>
  • Date: Mon, 28 Aug 2006 20:48:51 -0400


Is no one else seeing this behavior, or is this a known bug?

On Aug 8, 2006, at 10:56 PM, Bill Coleman wrote:

I have an NSTableView with several columns defined. Most use the default data cell (which I suppose is an NSTextCell), but one has an NSComboBoxCell.

One thing I've noticed is that the text in the NSComboBoxCell has a baseline that is about two pixels too low -- it does not line up with the text in the other cells. I have looked in Interface Build and in the documentation, but I don't see how I can adjust the cells to have the baseline line up.

The other issue I see with NSComboBoxCell is that the adjustment arrows aren't aligned with the right edge of the cell. Instead, they are about a dozen pixels to the left, which blocks off some of the text. How do I reclaim this unused space?

You can demonstrate this behavior in Interface Builder pretty easily. Just create a window or panel, add an NSTableView with three columns, then add an NSComboBoxCell to the middle column. The text will shift down by two pixels. Similarly, if set the column back to the default cell, the text rises by two pixels.

Bill Coleman, AA4LR, PP-ASEL        Mail: email@hidden
Quote: "We invented personal computing."
            -- Bill Gates @ TechNet / MSDN 2003


_______________________________________________ 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

Bill Coleman, AA4LR, PP-ASEL Mail: email@hidden Quote: "Boot, you transistorized tormentor! Boot!" -- Archibald Asparagus, VeggieTales

_______________________________________________
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


References: 
 >NSComboBoxCell text baseline - two pixels too low (From: Bill Coleman <email@hidden>)

  • Prev by Date: Re: I'm having trouble retaining a NSColor
  • Next by Date: Re: NSDatePickerCell -- Ever Worked ??
  • Previous by thread: NSComboBoxCell text baseline - two pixels too low
  • Next by thread: Formatting NSView for printing...
  • Index(es):
    • Date
    • Thread