• 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 13:01:25 -0400

Thanks, i used drawWithFrame:inView (even though the docs says overriding is not recommended) and it worked
Heri

Le 05-04-26, à 11:37, j o a r a écrit :

On 2005-04-26, at 17.31, Heri wrote:

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)

Sure they do. Check the drawing methods in NSCell.

j o a r



 _______________________________________________
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

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>)
 >Re: unbordered nscombobox are drawn 4 pixels below (From: Heri <email@hidden>)
 >Re: unbordered nscombobox are drawn 4 pixels below (From: j o a r <email@hidden>)

  • Prev by Date: Re: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug?
  • Next by Date: Re: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug?
  • Previous by thread: Re: unbordered nscombobox are drawn 4 pixels below
  • Next by thread: Re: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug?
  • Index(es):
    • Date
    • Thread