I'm trying to use PDF files as image templates for my segment controls, but they come out too small.
I created them using Affinity Designer, adding the "Template" suffix. They end up getting drawn at half size in my controls. I tried changing the export DPI from the default (~144) to 72, but it had no effect. Exporting them as png instead works fine - at runtime, that is. Xcode 7.3.1's editor shows them at half size like the PDFs. This only happens with my custom images, never with standard system images. The images are 16x16, exported using Designer's "PDF (flatten)" setting. My segment control is "small square" style, with 37px wide segments. How can I make them display at the right size? I can make do with pngs if necessary, but for one thing I like not having to have @2x versions of everything. Plus Apple's documentation recommends PDF for template images, so it ought to work. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com