 
     // MARK: - Size calculator
     
-    private func calculateLableSize(size: CGSize = UIApplication.sharedApplication().keyWindow!.bounds.size) -> CGSize {
+    private func calculateLabelSize(size: CGSize = UIApplication.sharedApplication().keyWindow!.bounds.size) -> CGSize {
         guard let _ = titleLabel.text else { return .zero }
         
         let itemWidth: CGFloat

    private func layoutLabel() {
        let viewsDictionary = ["label": titleLabel]
        
        let labelSize = calculateLableSize()

        let horizontalConstraints = NSLayoutConstraint.constraintsWithVisualFormat("H:|[label]|", options: [], metrics: nil, views: viewsDictionary)
        let verticalConstraints = NSLayoutConstraint.constraintsWithVisualFormat("V:|[label]|", options: [], metrics: nil, views: viewsDictionary)

        // set width manually to support ratotaion
        switch (options.menuDisplayMode, options.menuItemViewContent) {
        case (.SegmentedControl, .Text):
            let labelSize = calculateLabelSize(size)
            widthConstraint.constant = labelSize.width
        case (.SegmentedControl, .Image):
            widthConstraint.constant = size.width / CGFloat(options.menuItemCount)
