mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
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:
parent
607d01c9ee
commit
bbedb6dd68
2 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue