• 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 ugliness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBoxCell ugliness


  • Subject: Re: NSComboBoxCell ugliness
  • From: Moray Taylor <email@hidden>
  • Date: Fri, 31 Oct 2003 13:18:20 +0000

Thanks very much for reply.
The setFont method changes the font in the cell itself, but doesn't affect the attached menu. I also use the NSPopupButtonCell, this works fine (the menu appears appropriately sized), but the NSComboBoxCell's menu seems screwed up when used at a small size.

Has anyone else experienced this problem?

Thanks a lot

Moray


One solution could be to change the Font of the Cell.

[myPrototypeCell setFont:[NSFont fontWhichFitsWellWithRowSizeOfMyTableView]];

I did this for a NSPopupButtonCell.

On Friday, October 31, 2003, at 12:42 PM, Moray Taylor wrote:

Hi,

I am using an NSComboxBoxCell in an NSTableView, it works fine, but when the menu pops up, the text is vertically cropped.

I am using setControlSize(NSCell.SmallControlSize) to make it a nice size, the cell itself adopts this small size, as does the text within it, but the attached menu doesn't seem to work with this size.

Is there a solution?

Thanks in advance

Moray
_______________________________________________
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.
_______________________________________________
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: NSComboBoxCell ugliness
      • From: Chuck Pisula <email@hidden>
References: 
 >Re: NSComboBoxCell ugliness (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Freelance programming
  • Next by Date: Re: Where is Xcode?
  • Previous by thread: Re: NSComboBoxCell ugliness
  • Next by thread: Re: NSComboBoxCell ugliness
  • Index(es):
    • Date
    • Thread