API Reference
Class
SpacingSystem
Defines standardized spacing values used across the rendering engine.
Inheritance
- Object
- SpacingSystem
Inherited Methods
Fields
public const String ContainerPaddingMobile #Padding applied to containers on mobile displays.
Value:
24pxpublic const String HeadingMargin #Default margin applied to headings and similar elements.
Value:
0 0 16px 0public const String RowAfterBoxMargin #Margin applied to EmailRow when following EmailBox (e.g., action buttons after content). Since EmailBox already adds bottom margin, we only need bottom margin here.
Value:
0 0 24px 0public const String BoxAfterRowMargin #Margin applied to EmailBox when following EmailRow. Maintains consistent spacing with auto horizontal centering.
Value:
16px auto 12px autopublic const String DefaultMaxContentWidth #Default max-width for email content containers. Standard width for optimal email readability across clients.
Value:
600pxpublic const String NestedBoxPadding #Reduced padding for nested EmailBox elements inside columns. Provides appropriate spacing for smaller nested containers.
Value:
16px