 		resFrame.size.width = myWidth
 		
 		// Add some margin for the txt:
-		srcFrame.size.height += 10
+		srcFrame.size.height += verticalMarginHeight
 		if resultTextView != nil {
-			resFrame.size.height += 10
+			resFrame.size.height += verticalMarginHeight
 		}
 		
 		// Calculate Y origin of each frame (*from the bottom*!):

import MJLLogger

class ChunkViewItem: NSCollectionViewItem, NotebookViewItem {
	// MARK: - properties
	@IBOutlet var sourceView: SourceTextView!
	@IBOutlet var resultTextView: SourceTextView?

		var topFrame = NSRect.zero, srcFrame = NSRect.zero, resFrame = NSRect.zero, middleFrame = NSRect.zero
		let myWidth = view.frame.size.width	// width of all frames
		
		topFrame = NSRect(x: 0, y: 0, width: myWidth, height: dividerBarHeight)
		middleFrame = middleView != nil ? NSRect(x: 0, y: srcFrame.maxY, width: myWidth, height: dividerBarHeight) : .zero

		// The Top frame height is set by the textContainer of the sourceView. Must ensure the glyphs dimensions have been calculated
		sourceView.layoutManager!.ensureLayout(for: sourceView.textContainer!)
