mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:59:31 +02:00
Cocoa/ListView: Icon settings Improved
This commit is contained in:
parent
26ee30a703
commit
0abdb4de1e
@ -619,7 +619,7 @@ begin
|
||||
itemView.item:= self;
|
||||
|
||||
imageControl:= NSImageView.alloc.initWithFrame( NSZeroRect );
|
||||
imageControl.cell.setImageScaling( NSImageScaleProportionallyUpOrDown );
|
||||
imageControl.setImageScaling( NSImageScaleProportionallyUpOrDown );
|
||||
self.setImageView( imageControl );
|
||||
itemView.addSubview( imageControl );
|
||||
|
||||
@ -647,6 +647,7 @@ begin
|
||||
_checkBox:= nil;
|
||||
end;
|
||||
|
||||
self.imageView.setImage( nil );
|
||||
self.view.removeFromSuperview;
|
||||
end;
|
||||
|
||||
|
@ -975,7 +975,7 @@ begin
|
||||
Exit;
|
||||
|
||||
imageControl:= NSImageView.alloc.initWithFrame( NSZeroRect );
|
||||
imageControl.cell.setImageScaling( NSImageScaleProportionallyUpOrDown );
|
||||
imageControl.setImageScaling( NSImageScaleProportionallyUpOrDown );
|
||||
self.setImageView( imageControl );
|
||||
self.addSubview( imageControl );
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user