         }
         self.label.lineBreakMode = NSLineBreakMode.byTruncatingTail
         self.label.numberOfLines = 1
-        self.label.minimumScaleFactor = 0.2
+//        self.label.minimumScaleFactor = 0.2
         self.label.textColor = UIColor.white
-        self.label.font = UIFont.preferredFont(forTextStyle: .subheadline)
+        self.label.font = UIFont.preferredFont(forTextStyle: .headline)
+        label.sizeToFit()
         self.backgroundColor = UIColor.red
         self.isHidden = true
         self.windowLevel = UIWindowLevelStatusBar+1;

    public override func layoutSubviews() {
        label.frame = self.bounds.insetBy(dx: 8, dy: 0)
        label.frame.origin.y = LayoutUtils.safeAreaTop()
        label.frame.size.height = 15.0
    }
    
    required public init?(coder aDecoder: NSCoder) {

        self.translatesAutoresizingMaskIntoConstraints = false
        label.translatesAutoresizingMaskIntoConstraints = false
        label.frame.origin.y = LayoutUtils.safeAreaTop()
        label.frame.size.height = 16.0
        self.addSubview(label)
        
        self.label.backgroundColor = UIColor.clear
