         delegate?.segmentedMenu(didSelectIndex: selectedIndex!)
         UIView.animate(withDuration: 0.1) {
             self.divideView?.frame = CGRect(x: totalWidth - offsetX, y: (self.divideView?.frame.origin.y)!, width: selectedWidth, height: (self.divideView?.frame.size.height)!)
+            button.titleLabel?.font = UIFont.systemFont(ofSize: highlightFontSize)
         }
     }
     

    public init(frame: CGRect, contentDataSource: NSArray, titleDataSource: NSArray, type: UISegmentedMenuType) {
        super.init(frame: frame)
        
        font = UIFont(name: "Helvetica", size: 16)
        self.type = type
        
        contentView = UIScrollView(frame: CGRect(x: 0, y: 0, width: bounds.size.width, height: bounds.size.height - 0.5))

    case fill
}

let defaultFontSize: CGFloat = 16
let highlightFontSize: CGFloat = 18
let kTag: NSInteger = 1000

public class UISegmentedMenu: UIView {
    
    public var titleDataSource: NSArray?
    public var contentDataSource: NSArray?

    let min = { (float1: CGFloat, float2: CGFloat) -> CGFloat in
        return float1 > float2 ? float2 : float1
    }
