Added support to set different width for button and menu box