Re: Question about bitmaps and retina / HiDPI
Dietmar Schwertberger <[email protected]> Sat, 19 May 2018 14:35:57 +0200
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On 5/19/2018 4:34 AM, [email protected] wrote: > Question 1: Should this work in wxPython? Is there something I'm not > doing right? I have never done this as I don't regularly use Mac Os, so I can just summarize what I have found when working on the wx backend for matplotlib. Usually, for a C++ wx application, you would need to have a info.plist file and define "NSPrincipalClass" to activate full retina support. I don't know whether the @2 icons should work without that. Maybe you can try to build wxPython with wxUSE_IMAGE, "compile" an executable and define a info.plist for that. See also the last messeages of this thread: https://groups.google.com/forum/#!topic/wx-dev/en7oPeUiV9A From looking at e.g. the Qt backend of matplotlib, there must be a way to enable Retina support for a Python program without info.plist, but this is probably hidden deep inside the Qt sources. It would be great if wxPython could support HiDPI displays as well. Regards, Dietmar -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.