0

I have a problem with NSFullSizeContentViewWindowMask, the text gets blurry after I added it.

With NSFullSizeContentViewWindowMask: http://cl.ly/image/2t0M1R201d1F

Without http://cl.ly/image/1o0K3d3s3t3j

Code:

self.window.titlebarAppearsTransparent = YES;
self.window.movableByWindowBackground = YES;
self.window.styleMask = self.window.styleMask | NSFullSizeContentViewWindowMask; 
Emnl
  • 1
  • 2
  • 1
    Usually caused by half-pixel positioning. This is particularly likely to happen when positioning something by centering it. Make sure that your label has integer coordinates (preferably, integers that are even). – matt Nov 25 '14 at 18:54
  • Label gets blurry with integer coordinates. – Emnl Nov 25 '14 at 23:00

0 Answers0