Page 1 of 1

Blurry text on Mac

Posted: Tue Mar 24, 2020 2:41 am
by asztandi

My team and I are working on a stand alone desktop application for which we use wxwidgets. On Windows and on Linux the texts in all controls look good, they are clear and sharp as expected. On Mac, specifically Catalina but I think it happened even with Mojave, the texts in all the controls except the menu items look blurry. We are using wxWidgets 3.1.3 version and the computers that I am seeing this issue on have retina displays.
Any advice would be greatly appreciated. If you could point me in a direction where I might find the solution.
Thank you!

Re: Blurry text on Mac

Posted: Tue Mar 24, 2020 4:04 pm
Are you able to reproduce it in the {minimal, widgets} sample?

Thank you.

Re: Blurry text on Mac

Posted: Thu Apr 02, 2020 3:16 pm
by asztandi
Thank you for you quick reply.
We have some minimal demo apps that use wxWidgets and I could not reproduce it there. That's good to know, it means the setting/error is somewhere in our code base.
Thank you for you help.

Re: Blurry text on Mac

Posted: Tue Apr 28, 2020 2:35 pm
by asztandi
It would be very helpful to know at least what might be the cause of these blurry controls under macOS: is it the way wxWidgets configured, or is it specific to certain controls, or does it matter that the size of the control is specified for Mac instead of letting the sizer lay it out? Actually, I do that quite often and I'm not sure whether that is a good practice. The menu items look good but all the other controls are blurry.

Re: Blurry text on Mac

Posted: Tue Apr 28, 2020 5:57 pm
by thoray
Try adding:


into Info.plist. That's supposed to enable retina support. wxWidgets samples do it too, see

Re: Blurry text on Mac

Posted: Wed Apr 29, 2020 7:27 pm
by asztandi
Worked like magic! Thank you so much!