Lisp HUG Maillist Archive

Re: Toolbar

I’ve answered my own question.

With a bit of experimentation I’ve found that if you create the toolbar images 32 x 32, and supply them to capi:toolbar with:

(make-instance 'capi:toolbar :image-width 16 :image-height 16 :flatp t :items (images….)

they display high-resolution on a Retina display.

Hope this is useful to someone else.

Regards,
David

+------------------------------------------------------------+
David Johnson-Davies, Human-Computer Interface Ltd
17 Signet Court, Swanns Road, Cambridge, CB5 8LA, England.

Tel: +44 1223 314934, Fax: +44 1223 462562
Email: david@interface.co.uk, Web: http://www.interface.co.uk/
+------------------------------------------------------------+


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:32 UTC