Made fixed width and height in button factory doubles.