         self.contentView = contentView
         self.title = title
         self.content = content
-    
+
         initSubviews()
     }
 

            confirmButton.height(44.0).width(contentMaxWidth/2)
                .centerX(maxWidth * 0.75).y((contentView ?? contentLabel).cic.bottom + marginV)
        }
    
        var autoSizeHeight = (actions ?? [cancelButton, confirmButton]).map{ $0.cic.bottom + marginV}.max()!
        if autoSizeHeight > maxHeight {
            contentLabel.height(maxHeight - marginV - cancelButton.cic.height - marginV - titleLabel.cic.bottom - marginV)
            contentLabel.layout()
            _ = [cancelButton, confirmButton].map{ $0.y(contentLabel.cic.bottom + marginV) }
            autoSizeHeight = (actions ?? [cancelButton, confirmButton]).map{ $0.cic.bottom + marginV}.max()!
        }
        titleLabel.centerX(maxWidth/2)
        contentLabel.centerX(maxWidth/2).backgroundColor(.green)

    var actions: [CICAlertAction]?

    private var maxHeight: CGFloat {
        return .screenHeight - 3 * (UIEdgeInsets.layoutMargins.top + UIEdgeInsets.layoutMargins.bottom)
    }

    private var maxWidth: CGFloat {
        return .screenWidth - 3 * (UIEdgeInsets.layoutMargins.left + UIEdgeInsets.layoutMargins.right)
    }

    private var marginH: CGFloat = 10
