set

fun set(xSpacing: Float, scalableStartPadding: Float, scalableEndPadding: Float, unscalableStartPadding: Float, unscalableEndPadding: Float): MutableHorizontalDimensions

Updates the stored values.


fun set(xSpacing: Float, startPadding: Float, endPadding: Float): MutableHorizontalDimensions

Deprecated

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

Replace with

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

Updates the stored values.