mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19821 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1d645f1ed8
commit
042b670b40
3 changed files with 21 additions and 7 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-08-02 23 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormViewEditor.m: Added stub for initWithCoder just for
|
||||
completeness.
|
||||
* Palettes/2Controls/GormButtonEditor.m: Change references
|
||||
to xDist and yDist to new names from NSCell.h
|
||||
|
||||
2004-08-02 08:54 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormPalettesManager.m: Clarified error message when
|
||||
|
|
|
@ -136,7 +136,14 @@ static BOOL currently_displaying = NO;
|
|||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"Cannot encode a GormViewEditor"];
|
||||
format: @"Cannot encode a GormViewEditor."];
|
||||
}
|
||||
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"Cannot decode a GormViewEditor."];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (id<IBDocuments>) document
|
||||
|
|
|
@ -175,8 +175,8 @@
|
|||
imageRect.origin.y += 1;
|
||||
}
|
||||
titleRect = imageRect;
|
||||
titleRect.origin.x += imageSize.width + xDist;
|
||||
titleRect.size.width = cellFrame.size.width - imageSize.width - xDist;
|
||||
titleRect.origin.x += imageSize.width + GSCellTextImageXDist;
|
||||
titleRect.size.width = cellFrame.size.width - imageSize.width - GSCellTextImageXDist;
|
||||
if (_cell.is_bordered || _cell.is_bezeled)
|
||||
{
|
||||
titleRect.size.width -= 3;
|
||||
|
@ -200,7 +200,7 @@
|
|||
imageRect.origin.y += 1;
|
||||
}
|
||||
titleRect.origin = cellFrame.origin;
|
||||
titleRect.size.width = cellFrame.size.width - imageSize.width - xDist;
|
||||
titleRect.size.width = cellFrame.size.width - imageSize.width - GSCellTextImageXDist;
|
||||
titleRect.size.height = cellFrame.size.height;
|
||||
if (_cell.is_bordered || _cell.is_bezeled)
|
||||
{
|
||||
|
@ -227,10 +227,10 @@
|
|||
|
||||
imageRect.origin.x = cellFrame.origin.x;
|
||||
imageRect.origin.y = cellFrame.origin.y;
|
||||
imageRect.origin.y += titleRect.size.height + yDist;
|
||||
imageRect.origin.y += titleRect.size.height + GSCellTextImageYDist;
|
||||
imageRect.size.width = cellFrame.size.width;
|
||||
imageRect.size.height = cellFrame.size.height;
|
||||
imageRect.size.height -= titleSize.height + yDist;
|
||||
imageRect.size.height -= titleSize.height + GSCellTextImageYDist;
|
||||
|
||||
if (_cell.is_bordered || _cell.is_bezeled)
|
||||
{
|
||||
|
@ -259,7 +259,7 @@
|
|||
imageRect.origin.y = cellFrame.origin.y;
|
||||
imageRect.size.width = cellFrame.size.width;
|
||||
imageRect.size.height = cellFrame.size.height;
|
||||
imageRect.size.height -= titleSize.height + yDist;
|
||||
imageRect.size.height -= titleSize.height + GSCellTextImageYDist;
|
||||
|
||||
if (_cell.is_bordered || _cell.is_bezeled)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue