• 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: unbordered nscombobox are drawn 4 pixels below
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unbordered nscombobox are drawn 4 pixels below


  • Subject: Re: unbordered nscombobox are drawn 4 pixels below
  • From: Heri <email@hidden>
  • Date: Tue, 26 Apr 2005 11:31:37 -0400

hi james,
thanks for the reply
I already did that. but i thought somebody would come up with a cleaner option.
The problem here is that I am using NSComboxCells, which doesn't have drawing methods. If I used NSComboBox ( i can't), i guess this could be fixed by subclassing NSComboBox and overriding drawRect (call super with a frame 4 pixels higher)


I am sure this can be fixed because in Property List editor, there is a tablecolumn which behaves properly
Heri


Le 05-04-26, à 11:14, James Dessart a écrit :

On 4/26/05, heri rakotomalala <email@hidden> wrote:

How can I tell the NSComboBoxCell to draw itself 4 pixels higher in each
row?

You could always make the row just a little taller, to accomodate the "extra" height. Someone else may have a better suggestion.

--
James Dessart
Blog: http://skwirl.net/
Software dev. services: http://skwirl.com/



_______________________________________________ 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
  • Follow-Ups:
    • Re: unbordered nscombobox are drawn 4 pixels below
      • From: j o a r <email@hidden>
References: 
 >unbordered nscombobox are drawn 4 pixels below (From: "heri rakotomalala" <email@hidden>)
 >Re: unbordered nscombobox are drawn 4 pixels below (From: James Dessart <email@hidden>)

  • Prev by Date: Re: Showing submenu item in an NSPopUpButton
  • Next by Date: Re: Binding button.enabled to "NSTextField is not empty"
  • Previous by thread: Re: unbordered nscombobox are drawn 4 pixels below
  • Next by thread: Re: unbordered nscombobox are drawn 4 pixels below
  • Index(es):
    • Date
    • Thread