The treeImageMarginTop property (number) sets the top margin of the task tree node image in pixels.
DayPilot.Gantt.treeImageMarginTop2JavaScript
const gantt = new DayPilot.Gantt("dp", {
treeImageMarginTop: 5,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
treeImageMarginTop: 5,
// ...
};React
<DayPilotGantt
treeImageMarginTop={5}
{/* ... */}
/>Vue
<DayPilotGantt
:treeImageMarginTop="5"
<!-- ... -->
/>