Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update -sizeBasedOnLabel to return a size that is consistent with -si…
…zeThatFits:. Change -sizeBasedOnLabel to apply ceil() to the width of the label. Without this change, the width will differ slightly based on the textCanWrap property. This avoids differences that was resulting in an infinite layout loop in MDCAlertController. PiperOrigin-RevId: 662959086
- Loading branch information