getLabelHeight

fun getLabelHeight(context: MeasuringContext, maxWidth: Float, iconPaddingDp: Float, iconSizeDp: Float): Float

Measures the height of the label.

Parameters

maxWidth

the maximum width.

iconPaddingDp

the padding between the icon and the label.

iconSizeDp

the size of the icon.