• 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: NSPopUpButtonCell in NSTableView - Vertical Alignment?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSPopUpButtonCell in NSTableView - Vertical Alignment?
      • From: Steve Franks <email@hidden>
    • compositeToPoint ignores DPI?
      • From: Ben Mackin <email@hidden>
  • Prev by Date: Re: Compiler Warning City
  • Next by Date: Re: NSString Parsing
  • Previous by thread: NSPopUpButtonCell in NSTableView - Vertical Alignment?
  • Next by thread: compositeToPoint ignores DPI?
  • Index(es):
    • Date
    • Thread