mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:10:38 +00:00
force origin to (0,0) as suggested by Fred for a Subview
This commit is contained in:
parent
0b1771198f
commit
0ded9f7ea2
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ static NSHelpPanel *_sharedPanel = nil;
|
|||
hasHorizontalScroller: YES
|
||||
hasVerticalScroller: YES
|
||||
borderType: NSNoBorder];
|
||||
v = [[NSTextView alloc] initWithFrame: NSMakeRect(contentRect.origin.x, contentRect.origin.y, size.width, size.height)];
|
||||
v = [[NSTextView alloc] initWithFrame: NSMakeRect(0, 0, size.width, size.height)];
|
||||
[v setHorizontallyResizable: YES];
|
||||
[v setVerticallyResizable: YES];
|
||||
[v setEditable: NO];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue