             cancelHeight = Constants.mmbuttonHeight + Constants.mmbtnPadding
         }
 
-        let itemHeight = CGFloat(btnCount) * Constants.mmbuttonHeight + CGFloat(btnCount) * Constants.mmdivideLineHeight + Constants.paddng_bottom
+        let itemHeight = CGFloat(btnCount) * Constants.mmbuttonHeight + CGFloat(btnCount) * Constants.mmdivideLineHeight + Constants.paddng_bottom + tHeight
         let height = min(itemHeight, Constants.mmmaxHeight)
 
         scrollView.frame = CGRect(x: 0, y: 0, width: Constants.mmscreenWidth, height: height)
         actionSheetView.addSubview(scrollView)
 
-        actionSheetHeight = height + tHeight + cancelHeight
+        actionSheetHeight = height + cancelHeight
 
         let aFrame: CGRect = CGRect(x: 0, y: Constants.mmscreenHeight, width: Constants.mmscreenWidth, height: actionSheetHeight)
         actionSheetView.frame = aFrame


    /// Buttons
    private func setButtons() {
        let itemHeight = CGFloat(buttons.count) * Constants.mmbuttonHeight + CGFloat(buttons.count) * Constants.mmdivideLineHeight + Constants.paddng_bottom
        let view = UIView(frame: CGRect(x: 0, y: 0, width: Constants.mmscreenWidth, height: itemHeight))
        scrollView.addSubview(view)
        scrollView.contentSize = CGSize(width: Constants.mmscreenWidth, height: itemHeight)

        setButtons()
        /// Cancel Button
        setCancelButton()
        /// setExtraView
        setExtraView()
    }

    /// Title
