     }
 }
 
+internal class TTGSnackbarLabel: UILabel {
+    
+    @objc open dynamic var contentInset: UIEdgeInsets = UIEdgeInsets.init(top: 0, left: 0, bottom: 0, right: 0) {
+        didSet {
+            drawText(in: self.frame)
+        }
+    }
+    
+    override func drawText(in rect: CGRect) {
+        super.drawText(in: rect.inset(by: contentInset))
+    }
+    
+    override var intrinsicContentSize: CGSize {
+        let size = super.intrinsicContentSize
+        return CGSize(width: size.width + contentInset.left + contentInset.right,
+                      height: size.height + contentInset.top + contentInset.bottom)
+    }
+    
+}

        }
    }
    
    /// Main text label
    @objc fileprivate(set) open dynamic var messageLabel: UILabel!
    
    /// Main text shown on the snackbar.
    @objc open dynamic var message: String = "" {

        iconImageView.contentMode = iconContentMode
        contentView.addSubview(iconImageView)
        
        let messageLabel = TTGSnackbarLabel()
        self.messageLabel = messageLabel
        messageLabel.accessibilityIdentifier = "messageLabel"
        messageLabel.translatesAutoresizingMaskIntoConstraints = false
