C-Viorel
C-Viorel

Reputation: 1866

NSView Hierarchy. NSView bad ordering on yosemite

I have 2 NSView , firt is backgroung (the transparent black circle), and a second view wich contain some labels .

This is principal window

Now the problem: When i run the app , the background layer is above label Layer, so if i set alphaValue at 100 for background layer , the labels will be invisible.

enter image description here

The strange thing is if i run Debug View Hierarchy, the layers seems to be ordoned correctly ! and this is from debug View Hierarchy

I hope to be just a bug from yosemite, but i'm not sure, so i decide to ask here.

Thanks for help, and sorry for my english!

Upvotes: 1

Views: 174

Answers (0)

Related Questions