Re: NSPopUpButtonCell in NSTableView - Vertical Alignment?
Re: NSPopUpButtonCell in NSTableView - Vertical Alignment?
- Subject: Re: NSPopUpButtonCell in NSTableView - Vertical Alignment?
- From: Ian Gillespie <email@hidden>
- Date: Mon, 28 Oct 2002 12:11:16 -0800
On Monday, Oct 28, 2002, at 11:26 US/Pacific,
email@hidden wrote:
>
Hi,
>
>
I am writing Java/Cocoa apps under 10.2.1 and having cosmetic trouble
>
embedding a NSPopUpButtonCell in a table.
>
Everything is working for the popup button EXCEPT the text in the
>
button itself is obscured. Basically, the bottom 1/3 of the text seems
>
to be clipped in the popup-button label. Looking at it closer, it
>
appears that the text in the popup button
>
is *incorrectly* baseline aligned with the text in the rest of the
>
row.
>
>
I can't find anyway to change this, although I am guessing its in
>
NSTableView somewhere?! I saw the Jiiva application
>
builder demo has these working correctly (they add stuff to IB
>
pallette, I am doing programmatically).
>
>
Anybody know the magic incantation to get this to work?
>
>
Heres the jist of my code:
>
>
NSPopUpButtonCell _menuCell = new NSPopUpButtonCell();
>
Iterator keys = _bankList.keySet().iterator();
>
while (keys.hasNext()) {
>
Greetings, I overcame this problem by increasing the row height in my
tableview in IB.
Goodluck.
___________________________
Ian G. Gillespie
Dept. of Botany & Plant Sciences
University of California
Riverside, CA 92521
http://student.ucr.edu/~gillei01
___________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.