you need to look in the css file i the button is a fixed width then you could remove the width and it will be decided by what you type in it or if you want more control over the width you would have to assign a class to each buttom and set its width