     }
   }
 
+  override func layoutSubviews() {
+    label.sizeToFit()
+    label.frame = CGRect(origin: CGPoint.zero, size: CGSize(width: 50, height: 50))
+  }
+
   // MARK: - Helpers
 
   private var onePixel: CGFloat {


class TimelineView: UIView {

  var date = NSDate()

  var hourColor = UIColor.lightGrayColor()
  var timeColor = UIColor.lightGrayColor()

    layer.contentsScale = 1
    contentMode = UIViewContentMode.Redraw
    backgroundColor = .whiteColor()
    addSubview(label)
  }

  override func drawRect(rect: CGRect) {
