     }
     
     func layoutContents() {
+        titleLabel.preferredMaxLayoutWidth = baseView.bounds.width
+        titleLabel.layoutIfNeeded()
+        messageLabel.preferredMaxLayoutWidth = baseView.bounds.width
+        messageLabel.layoutIfNeeded()
+        
         if textBackgroundView.subviews.isEmpty {
             messageSpaceConstraint.constant = 0
         }

            mainViewHeightConstraint.constant = targetView.bounds.height
            mainView.frame.size.height = targetView.bounds.height
            mainView.addSubview(targetView)
            
            targetView.frame.size.width = mainView.frame.size.width
        }
    }
    

    }
    
    func layoutContents() {
        displayTargetView?.frame.size.width = mainView.frame.size.width
        displayTargetView?.layoutIfNeeded()
        
        if let config = configContentView {
            config(displayTargetView)
            configContentView = nil
