         self.isAccessibilityElement = true
     }
 
+    override func layoutSubviews() {
+        super.layoutSubviews()
+        menuTitleLabel.adjustFontSizeToFit()
+    }
+
     required init?(coder aDecoder: NSCoder) {
         fatalError("init(coder:) has not been implemented")
     }

        menuTitleLabel.text = nil
    }
}

        menuTitleLabel.lineBreakMode = NSLineBreakMode.ByWordWrapping
        menuTitleLabel.numberOfLines = 0
        menuTitleLabel.textAlignment = NSTextAlignment.Center
        menuTitleLabel.minimumScaleFactor = 0.1
        if #available(iOS 9, *) {
            menuTitleLabel.allowsDefaultTighteningForTruncation = true
        }
        return menuTitleLabel
    }()

