         thumbImageView.contentMode = UIViewContentMode.Center
         thumbImageView.autoresizingMask = UIViewAutoresizing.FlexibleWidth
         thumbView.addSubview(thumbImageView)
-    
+        
+        thumbImageView.addSubview(textLabel)
+
         self.on = false
     }
     

        offLabel.textColor = UIColor.lightGrayColor()
        offLabel.font = UIFont.systemFontOfSize(12)
        backgroundView.addSubview(offLabel)
        
        // thumb
        self.thumbView = UIView(frame: CGRectMake(1, 1, knobSize.width, knobSize.height))

    public var offLabel: UILabel!
    
    /*
    *	For customizations only. Text should be set to knobTest
    *   The size of the knob changes depending on the text size.
    */
    public var textLabel: UILabel!
    
    /*
    *	Set text which appears on top of the knob
    *   The size of the knob changes depending on the text size.
    */
    public var knobText: String! {
        didSet {
            textLabel.text = knobText
            textLabel.sizeToFit()
            knobSize.width = textLabel.frame.size.width + self.frame.height - 2
            layoutSubviews()
            textLabel.center = thumbImageView.center
        }
    }

    // internal
    internal var backgroundView: UIView!
    internal var thumbView: UIView!
