I created drag and drop app using Apple's example: https://developer.apple.com/library/mac/samplecode/SourceView/Introduction/Intro.html
I load actual image of dragged file.
When I drag for example this image file into my NSOutlineView, I see that it resized in this way:
I used as is without any modifications Apple's ImageAndTextCell class for custom NSTextFieldCell.
How I can resize this image to fit proportionally cell rect?