         
         menuView.shapeLayer.frame = CGRect(origin: CGPointZero, size: menuView.frame.size)
         menuView.updatePath()
-        
-        for i in 0 ..< buttons.count {
-            let btn = buttons[i]
-            btn.frame  = CGRect(x: 0.0, y: 0.0, width: kButtonWidth, height: kButtonHeight)
-            btn.center = CGPoint(x: view.center.x, y: -kButtonHeight * 0.25 + (kButtonHeight + kButtonInterval) * CGFloat(i + 1))
-        }
-        self.view.layoutIfNeeded()
+        menuView.layoutIfNeeded()
     }
     
     override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {

            name = kDefaultFont
        }
        self.titleLabel?.font = UIFont(name: name, size:kFontSize)
    }
}


        // Add a cancel button
        self.addCancelButton(cancelButtonTitle)
        
        // Add a title label when title is set
        if !headline.isEmpty {
            self.addLabel(headline)
        }
        
        // Style buttons
        for btn in buttons {
            btn.layer.cornerRadius = kButtonHeight * 0.5
            btn.setFontName(fontName)
            btn.setColor(colors)
        }
        
        // Style labels
        for label in labels {
            label.setFontName(fontName)
            label.setColor(colors)
        }
        
        // Set frames
        self.updateFrames()
        
        // Animations
        animationWillStart()
