Creating a label using NSTextField is blurry

后端 未结 8 1234
后悔当初
后悔当初 2021-01-06 03:05

I\'m trying to create a label programmatically using NSTextField, but it comes out blurry: screenshot

This is my code so far:

NSTextfield *textfield          


        
8条回答
  •  爱一瞬间的悲伤
    2021-01-06 03:28

    Out of the box, but worth to mention. I have wasted by entire day debugging the issue. I am using a non-apple external monitor and this is where the issue is identified. Once i open the app in Mac book pro, it is perfectly fine. So, the Samsung monitor which i am using might be non-retina.

提交回复
热议问题