Correction for palette clipping issue.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26488 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-05-04 22:01:03 +00:00
parent 607d01c9ee
commit bbedb6dd68
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2008-05-04 18:00-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormPalettesManager.m: Crrrection for issue with palette
clipping the top of the controls.
2008-05-03 13:40-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/GormNSPanel.m

View file

@ -514,11 +514,11 @@ static NSImage *dragImage = nil;
// with scrolling.
if([window styleMask] & NSBorderlessWindowMask)
{
[window setFrame: NSMakeRect(0,0,272,160) display: NO];
// [window setFrame: NSMakeRect(0,0,272,160) display: NO];
}
else
{
[window setFrame: NSMakeRect(0,0,272,192) display: NO];
// [window setFrame: NSMakeRect(0,0,272,192) display: NO];
}
// manage palette data.
@ -640,7 +640,7 @@ static NSImage *dragImage = nil;
wv = [[palette originalWindow] contentView];
if(wv)
{
[dragView setFrameSize: [wv frame].size];
// [dragView setFrameSize: [wv frame].size];
}
// iterate over the subviews and add them to the dragview.