Margins
Element type: Dictionary
The Margins key allows a component to add some space from its edges.
Note that the border, if any is set, will be drawn after the given space.
Keys
| Name | Type | Required |
|---|---|---|
| Top | Number | |
| Bottom | Number | |
| Right | Number | |
| Left | Number |
Detail
Top
Type: Number
Explanation: Top margin. Space to add between the component and another element above.
Bottom
Type: Number
Explanation: Bottom margin. Space to add between the component and another element below.
Right
Type: Number
Explanation: Top margin. Space to add between the component and another element on the right.
Left
Type: Number
Explanation: Left margin. Space to add between the component and another element on the left.