The padding of the Element in points.

Padding controls the distance from the edges of an element to the edges of the elements inside it. It's very similar to Margin, except that it works "inwards".

Padding is made up of 4 values; one for each edge of the element. In order, they are left, top, right, and bottom. In UX, they are specified as a comma-separated list:

<Panel Padding="10,20,30,40" />

They can also be specified in a shortened form:

<Panel Padding="10" /> <!-- is expanded to "10,10,10,10" -->
<Panel Padding="10,20" /> <!-- is expanded to "10,20,10,20" -->

See Layout for more details.

Location

Namespace
Fuse.Elements
Package
Fuse.Elements 2.9.1

Returns

float4