Allow the result box of button gererator only to resize vertically.