HorizontalDimensions

fun HorizontalDimensions(xSpacing: Float, scalableStartPadding: Float, scalableEndPadding: Float, unscalableStartPadding: Float, unscalableEndPadding: Float): HorizontalDimensions

Creates a HorizontalDimensions instance.


fun HorizontalDimensions(xSpacing: Float, startPadding: Float, endPadding: Float): HorizontalDimensions

Deprecated

`startPadding` and `endPadding` have been replaced by `scalableStartPadding`, `scalableEndPadding`, `unscalableStartPadding`, and `unscalableEndPadding`. Use the overload with these parameters instead.

Replace with

HorizontalDimensions(xSpacing, startPadding, endPadding, 0f, 0f)

Creates a HorizontalDimensions instance.