7 Commits

Author SHA1 Message Date
Jeff Verkoeyen
6b58d9548a Remove all pre-iOS 12 logic.
PiperOrigin-RevId: 401326199
2021-10-06 13:36:15 -07:00
Nobody
08d42c18d8 [MDCAlertControllerView] Avoid cutting off the top of Thai characters with diacritics.
In iOS platform, text font are not strictly required to fit within the UIFont.lineHeight. Some Thai characters with diacritics are rendered outside the UILabel/UITextView's bounds.

One solution is to increase the top margin of the UILabel/UITextView so we leave extra padding between the parent view's top edge and the top edge of the UILabel/UITextView (Like the _titleLabel in MDCAlertControllerView).

closes #10161

PiperOrigin-RevId: 363491472
2021-03-17 13:16:58 -07:00
Alyssa Weiss
bd6484925b Delete deprecated buttonFont for MDCAlert and make all appropriate changes following deletion
PiperOrigin-RevId: 333566191
2020-09-24 12:03:36 -07:00
Alyssa Weiss
8842f55760 Update the testing for the localization snapshot tests.
PiperOrigin-RevId: 332912160
2020-09-21 12:52:20 -07:00
Robert Moore
9b5c2faf21
[Dialogs] Remove iOS 9 guards. (#7998)
Part of #2651
2019-07-23 12:22:15 -04:00
Robert Moore
8dcf1e4a56
[*] Remove RTL snapshot method overrides. (#7996)
With #7986, most snapshot tests began overriding a method that had nearly the
same behavior.
2019-07-22 21:11:17 -07:00
Wenyu Zhang
184ea7380c
[Dialogs] Dialog Urdu snapshot (#7139)
Added a snapshot for Dialogs with large Urdu font.

Prework for https://github.com/material-components/material-components-ios/issues/7062
2019-04-15 12:49:12 -04:00