Re: toolbar icons and images

2013-11-11 Thread Maxthon Chan
Well if that is the case, the SVG-to-NSImage (UIImage) code comes to use - just store always-being-one-pixel lines in SVG as 0-width paths. On Nov 12, 2013, at 10:22, Seth Willits wrote: > On Nov 11, 2013, at 4:44 PM, Maxthon Chan wrote: > >> What I stumbled upon is that you should use vector

Re: toolbar icons and images

2013-11-11 Thread Seth Willits
On Nov 11, 2013, at 4:44 PM, Maxthon Chan wrote: > What I stumbled upon is that you should use vector images in PDF format and > the system will scale it for you. Can, may, but not “should.” Lines that are supposed to be one point wide cannot remain one point wide when the art is scaled. For

Re: toolbar icons and images

2013-11-11 Thread Maxthon Chan
What I stumbled upon is that you should use vector images in PDF format and the system will scale it for you. On Nov 10, 2013, at 16:57, Michael Starke wrote: > I did stumble upon the deprecation too, but now am unable to find it again. > What I do rememeber though is, that NSSegmentStyleTextu

Re: toolbar icons and images

2013-11-10 Thread Michael Starke
I did stumble upon the deprecation too, but now am unable to find it again. What I do rememeber though is, that NSSegmentStyleTexturedSquare was considered the one to use instead. Currently it seems to look the same. The cell does look like a rounded square in either of those styles. On 10 Nov

Re: toolbar icons and images

2013-11-10 Thread 2551
On 10 Nov 2013, at 14:20, 2551 <2551p...@gmail.com> wrote: > I can’t find any clear specifications in the documentation as to what > exactly the ideal image size and resolution should be. I finally stumbled upon: 32x32px @72dpi as giving consistent results. __

toolbar icons and images

2013-11-09 Thread 2551
I’ve spent the entire morning trying to import my own custom images for toolbar icons, with varying success. While they tend to look OK in both the ImageAssets interface and in the xib file, when I build and run the app they sometimes render correctly but (more often) sometimes do not. I’ve exp