DayPilot.Scheduler.eventMarginLeft

The eventMarginLeft property (number) sets the left margin of an event box (in pixels). This margin will make the event width calculated from start/end smaller (it behaves like a padding in box-sizing: border-box mode).

Default Value

Example

dp.eventMarginLeft = 2;