VerticalAlignedLabel
fun RowScope.VerticalAlignedLabel(label: String, style: TextStyle, indicatorHeight: Dp, offset: Dp, startPadding: Dp = SkapaSpacing.space100)(source)
Measures the text to vertically align it to the indicator. This function is used only in PriceModule component for alignment of offerMessage
Parameters
label
The label to show.
style
The TextStyle of the label to use for measuring.
indicatorHeight
The height of the Checkbox, Radio button indicator to align to.
offset
Vertical text offset.
startPadding
The start padding of the text.