     super.layoutSubviews()
     labels.forEach { (tab) -> () in
       switch style {
-      case .Cover:
+      case .cover:
         tab.fillSuperview()
       default:
+//        tab.fillSuperview()
         tab.anchorInCenter(withWidth: width / titles.count.cgFloat , height: size)
       }
     }

    }
  }

  override init(frame: CGRect) {
    super.init(frame: frame)
  }
  required public init?(coder aDecoder: NSCoder) { fatalError("init(coder:) has not been implemented") }
}

  public var changed: () -> () = {}
  public var segmentTapped: () -> () = {}

  public var style: IndicatorStyle = .underline { didSet { } }

  public var textColorFollowedByIndicator = false {
    didSet { indicatorConstraints() }
