Re: unbordered nscombobox are drawn 4 pixels below
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