don't set buttonWidth if buttonWidth = 'auto'

setting of buttonWidth = 'auto' on the element
will prevent the element from being formatted via CSS