LineHeightStyle.Mode


Defines if the specified line height value should be enforced.

The line height is determined by the font file used in the text. So, sometimes the specified text height can be too tight to show the given text. By using Adjustment.Minimum the line height can be adjusted to the system provided value if the specified line height is too tight. This is useful for supporting languages that use tall glyphs, e.g. Arabic, Myanmar, etc.

Summary

Public companion properties

LineHeightStyle.Mode

Always use the specified line height.

Cmn
LineHeightStyle.Mode

By specifying Mode.Minimum, when the specified line height is smaller than the system preferred value, the system preferred one is used instead.

Cmn

Public companion properties

Fixed

val FixedLineHeightStyle.Mode

Always use the specified line height. Even if the system preferred line height is larger than specified one, the specified line height is used.

Minimum

val MinimumLineHeightStyle.Mode

By specifying Mode.Minimum, when the specified line height is smaller than the system preferred value, the system preferred one is used instead.