Am 12.01.2013 um 11:49 schrieb Beatrix Willius <[email protected]>:

> Hi,
> 
> I'm in progress on Retina-fying my application. There are 2 places where I 
> have issues with icons in a menu and I'm not sure if it's me, RealStudio or 
> MBS:
> 
> The icons are available at retina, but they are drawn in double size and not 
> with retina resolution.

With NSImageMBS you need to create the image and set the size to the half.

dim p as picture = LogoMBS(500)
dim n as new NSImageMBS(p)
n.setSize 250,250

so the system knows it's a high res image as pixel width and width are not 
identical.

> This returns only 32x32 pixel icons. I need icons for desktop, home and 
> documents folder.


You may better use the functions where you pass a size. For retina pass double 
the size and later use setSize for NSImage.

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to