Re: NSComboBoxCell problems
Re: NSComboBoxCell problems
- Subject: Re: NSComboBoxCell problems
- From: Moray Taylor <email@hidden>
- Date: Wed, 28 Jan 2004 00:19:55 +0000
Hi,
Thanks to everyone who replied, I tried the suggested methods, but it
still didn't work.
I eventually desperately tried returning an NSAttributedString from my
datasource i.e. comboBoxCellObjectValueForItemAtIndex, and it worked!
So, everythings working great now, if anyone else is suffering the
problem, the above should fix it.
Thanks again
Moray
>
You also need to set the font:
>
>
[cell setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
>
>
Florent
>
>
On 27 janv. 04, at 00:51, Moray Taylor wrote:
>
>
>
>
> I have a problem with an NSComboBoxCell, it's a bit difficult to
>
> describe, so I've posted a small screengrab here... See how the text
>
> is getting cropped.
>
>
>
> http://the400.homeunix.com/problem.jpg
>
>
>
> It only happens when it's used at a small size, so if I really have
>
> to, I could change to a larger size, but I thing it would look quite
>
> ugly, I've tried using various methods to fix it by to no avail. I've
>
> reported it to Apple as a bug, and they were quite accommodating, but
>
> no fix was offered. Any suggestions are welcome.
>
>
>
--
>
Florent Pillet, Code Segment email@hidden
>
Developer tools and end-user products for Palm OS & Mac OS X
>
ICQ: 117292463 http://perso.wanadoo.fr/fpillet
>
_______________________________________________
>
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.