Added smart button text wrapping and button padding.