         label: @label
         style: @options.labelStyle
       )
-    _labelWidth = @_labelView.stringWidth( @label, null, @_labelView.markupElemIds.value )+4
+    if @options.labelWidth == 'auto'
+      _labelWidth = @_labelView.stringWidth( @label, null, @_labelView.markupElemIds.value )+4
+    else
+      _labelWidth = @options.labelWidth
     @_labelView.rect.setWidth( _labelWidth )
     @_labelView.drawRect()
     if @componentName == 'textarea'

      textIndent: 0
      fontSize: '10px'
      color: '#666'
    refreshAfter:   0.2 # 200ms
    refreshOnBlur:  true
    refreshOnInput: true
    refreshOnIdle:  true

    else if _inputElement.selectionStart
      _inputElement.setSelectionRange( _selectionStart, _selectionEnd )

  defaultKey: ->
    @refreshAfter()
    null

  ### = Description
  ## Receives the +textEnter+ event to update the value
  ## based on what's (potentially) entered in the text input field.
  ###
  textEnter: ->
    @refreshAfter() if @options.refreshOnInput
    false

HTextField = HTextControl
