paddingPx

open fun paddingPx(edge: YogaEdge, @Px padding: Int): T

Affects the size of the node it is applied to. Padding will not add to the total size of an element if it has an explicit size set. See https://yogalayout.dev/docs/margins-paddings-borders for more information