Return the button width instead of the label width when availbleWidth is less than 0.
Return the button width instead of the label width when availbleWidth is less than 0.

PiperOrigin-RevId: 398366964

material-components/material-components-ios,material-components/material-components-ios,material-components/material-components-ios,material-components/material-components-ios,material-components/material-components-ios