[Top][All Lists]
[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
on gnustep. The window content is made by the same gsmarkup on both sides.
Can somebody help me please?
Thanks!
David
- wrong offset when adding subview from other window.,
David Wetzel <=