mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-01-29 21:12:44 +08:00
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