dynamic button sizing for controls