NSComboBoxCell text baseline - two pixels too low
NSComboBoxCell text baseline - two pixels too low
- Subject: NSComboBoxCell text baseline - two pixels too low
- From: Bill Coleman <email@hidden>
- Date: Tue, 8 Aug 2006 22:56:52 -0400
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