mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:00:47 +00:00
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:
parent
468f1fac88
commit
ae748fe603
2 changed files with 196 additions and 260 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue