Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser matrix question



I've implemented the createRowsForColumn delegate method for my NSBrowser. In the matrix, I'm setting the cell size to be something bigger than the default, say to the default width and a new height of 34.

When my NSBrowser cells display, the image I'm using in the cell displays centered correctly in the cell. The NSBrowserCell branch image is also displayed in the center of the new height. However, I can't find a way to get the text of the NSBrowserCell to be displayed centered. It remains where is was by default, which with the new cell size is incorrect, it's now stuck at the top.

Does anyone know how to get the text centered the way the two images are?

Thanks

Michael




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.