forked from material-components/material-components-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dialogs] Fix vertical calculations for wide actions view (material-c…
…omponents#9878) This issue is specific to alerts with actions that are wider than the title and the message. The width of the alert, which is based on its widest part (in this case the actions) did not include the insets in the width, causing differences in calculating the final width of the alerts, and cause long actions to be truncated (Closes #8434). PiperOrigin-RevId: 299735845
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ActionsTests/testActionsLayoutHorizontallyForCatpitalizedButtonCase_11_2@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...rollerActionsTests/testActionsLayoutHorizontallyForExtraLongButtons_11_2@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.