Using - (void)addSubview:(NSView *)aView positioned:(NSWindowOrderingMode)place relativeTo:(NSView *)otherView doesn't seems to do any difference...
Backend is cairo.
View hierarchy is
NSWindow
|
NSScrollView
|
NSView (scrollview's documentView)
|
[ a bunch of views which are drawn in wrong order (not the order they are added).. ]
Don't know if this is a bug or if it some weird effect of having view overlapping each other inside a scrollview.. Anyone with insight?
--
Johannes Lundberg
Project leader and lead developer of Mirama OS (previously Viking OS)
BRILLIANTSERVICE CO., LTD.