 @IBDesignable
 public class AFMActionSheetController: UIViewController {
 
-    @IBInspectable public var controlHeight: Int   = 50 {
-        didSet { self.updateUI() }
-    }
-    @IBInspectable public var spacing: Int         = 4  {
-        didSet { self.updateUI() }
-    }
-    @IBInspectable public var margin: Int          = 16 {
-        didSet { self.updateUI() }
-    }
-    @IBInspectable public var cornerRadius: Int    = 10 {
+    @IBInspectable public var controlHeight: Int        = 50 {
+        didSet { self.updateUI() }
+    }
+    @IBInspectable public var titleHeight: Int          = 50 {
+        didSet { self.updateUI() }
+    }
+    @IBInspectable public var spacing: Int              = 4  {
+        didSet { self.updateUI() }
+    }
+    @IBInspectable public var horizontalMargin: Int     = 16 {
+        didSet { self.updateUI() }
+    }
+    @IBInspectable public var verticalMargin: Int       = 16 {
+        didSet { self.updateUI() }
+    }
+    @IBInspectable public var cornerRadius: Int         = 10 {
         didSet { self.updateUI() }
     }
 


        self.view.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("V:|-(>=margin)-[actionGroupView]-margin-[cancelGroupView]-margin-|",
            options: .DirectionLeadingToTrailing,
            metrics: ["margin": self.margin],
            views: ["actionGroupView": self.actionGroupView, "cancelGroupView": self.cancelGroupView]) 
        )
    }

            groupView.translatesAutoresizingMaskIntoConstraints = false
            self.view.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("H:|-margin-[groupView]-margin-|",
                options: .DirectionLeadingToTrailing,
                metrics: ["margin": self.horizontalMargin],
                views: ["groupView": groupView]) 
            )
        }
