enum sap.ui.commons.layout.Padding

Visiblity: public
Available since: N/A
Module: sap/ui/commons/library
Application Component: CA-UI5-CTR

Padding, e.g. of a layout cell's content within the cell's borders. Note that all options except "None" include a padding of 2px at the top and bottom, and differ only in the presence of a 4px padding towards the beginning or end of a line, in the current locale's writing direction.


Properties Overview

Node Description
sap.ui.commons.layout.Padding.Begin

Top and bottom padding of 2px. Padding of 4px towards the beginning of a line, in the current locale's writing direction, but none towards its end.

sap.ui.commons.layout.Padding.Both

Top and bottom padding of 2px. Padding of 4px towards both the beginning and end of a line.

sap.ui.commons.layout.Padding.End

Top and bottom padding of 2px. Padding of 4px towards the end of a line, in the current locale's writing direction, but none towards its beginning.

sap.ui.commons.layout.Padding.Neither

Top and bottom padding of 2px. No padding towards neither the beginning nor end of a line.

sap.ui.commons.layout.Padding.None

No padding at all.