gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wrong offset when adding subview from other window.


From: David Wetzel
Subject: wrong offset when adding subview from other window.
Date: Fri, 4 Jun 2010 01:48:36 -0700

Hi folks,

I tried this again and again, but it seems like there is a bug in gui or back.

This code:

          [[window contentView] addSubview:[inspector view]
                                positioned:NSWindowBelow
                                relativeTo:scrollView];
          [[inspector view] setFrameOrigin:NSMakePoint(0,0)];
          [[inspector view] setNeedsDisplay:YES];
          [[window contentView] setNeedsDisplay:YES];


works fine on OS X but looks like that 

PNG image


on gnustep. The window content is made by the same gsmarkup on both sides.

Can somebody help me please?

Thanks!

David 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]