Re: Button title irregularities

2008-12-03 Thread Ricky Sharp
On Dec 2, 2008, at 7:15 PM, Randall Meadows wrote: On Dec 2, 2008, at 5:31 PM, Aki Inoue wrote: You're using Helveitca 12.0 as your label font. Actually, it's: (gdb) po labelFont "ArialMT 12.00 pt. P [] (0x001c0e30) fobj=0x162670a0, spc=3.33" Use [NSFont systemFontOfSize:[NSFont systemFon

Re: Button title irregularities

2008-12-02 Thread Benjamin Dobson
On 3 Dec 2008, at 01:15:32, Randall Meadows wrote: And I'm using that because that's what my client used on their iPhone app, and they want the Mac app to have the exact same look and feel. Then why not use Helvetica? ___ Cocoa-dev mailing list

Re: Button title irregularities

2008-12-02 Thread Randall Meadows
On Dec 2, 2008, at 5:31 PM, Aki Inoue wrote: You're using Helveitca 12.0 as your label font. Actually, it's: (gdb) po labelFont "ArialMT 12.00 pt. P [] (0x001c0e30) fobj=0x162670a0, spc=3.33" Use [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize: [yourButton controlSize]]] inste

Re: Button title irregularities

2008-12-02 Thread Aki Inoue
You're using Helveitca 12.0 as your label font. Use [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize: [yourButton controlSize]]] instead. Aki On 2008/12/02, at 13:39, Randall Meadows wrote: I am porting an iPhone app to the Mac, and the client desires the exact same look-and-f

Button title irregularities

2008-12-02 Thread Randall Meadows
I am porting an iPhone app to the Mac, and the client desires the exact same look-and-feel on the Mac as they have on the iPhone. So I am doing some custom drawing to achieve that. It's mostly going OK, but I've found myself wasting far too much time on this one little detail, and it's ki