Broweser, ImageCell fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17487 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2003-08-18 03:28:58 +00:00
parent 468f1fac88
commit ae748fe603
2 changed files with 196 additions and 260 deletions

View file

@ -64,6 +64,18 @@
_original_image_size = NSMakeSize(1,1);
}
- (void)setObjectValue:(id)object
{
if ([object isKindOfClass:[NSImage class]])
{
[self setImage: object];
}
else
{
[super setObjectValue: object];
}
}
//
// Aligning and scaling the image
//