     var imagePadding: CGFloat = 0 {
         didSet {
             imageView.snp_remakeConstraints(closure: { make in
-                let insets = UIEdgeInsetsMake(imagePadding, imagePadding, imagePadding, imagePadding)
+                let insets = UIEdgeInsetsMake(top: imagePadding, left: imagePadding, bottom: imagePadding, right: imagePadding)
                 make.top.left.right.equalTo(self.imageWrapper).insets(insets)
                 make.bottom.equalTo(textWrapper.snp_top).offset(-imagePadding)
             })

        })

        textLabel.snp_remakeConstraints(closure: { make in
            make.edges.equalTo(self.textWrapper).insets(ThumbnailCellUX.LabelInsets)
        })
        
        // Prevents the textLabel from getting squished in relation to other view priorities.

        imageView.snp_remakeConstraints(closure: { make in
            let imagePadding: CGFloat = (UIScreen.mainScreen().traitCollection.horizontalSizeClass == .Compact) ? ThumbnailCellUX.ImagePaddingCompact : ThumbnailCellUX.ImagePadding
            let insets = UIEdgeInsetsMake(imagePadding, imagePadding, imagePadding, imagePadding)
            make.top.equalTo(self.imageWrapper).inset(insets.top)
            make.left.right.equalTo(self.imageWrapper).inset(insets.left)
            make.right.equalTo(self.imageWrapper).inset(insets.right)
            make.bottom.equalTo(textWrapper.snp_top).offset(-imagePadding) // .insets(insets)
        })

