don't set buttonWidth if it's set to auto

setting width = auto on element will prevent the element from being
formatted via CSS
Merge pull request #221 from Powerhamster/width-patch

don't set buttonWidth if it's set to auto