Our state of the art Gantt chart


Post by anoop.francis »

Hi there,
Just wanna know if there is any way to reduce the event height without affecting row height of the grid?
I tried modifying it on the css by adjusting the task wrapper class like below

.b-gantt-task-wrap {
  height: 24px;
}

It seems to reduce the height, but the events are not anymore central aligned to the grid row Image

Is there way I can achieve the height reduction for events, but yet it will align central to the grid?

Attachments
Screen Shot 2023-02-09 at 3.07.24 pm.png
Screen Shot 2023-02-09 at 3.07.24 pm.png (2.43 KiB) Viewed 107 times

Post by tasnim »

Hello,

You could try reducing the barMargin to make it bigger
Please check docs https://bryntum.com/products/gantt/docs/api/Gantt/view/Gantt#config-barMargin

Is iţ what you were looking for?


Post by anoop.francis »

Hi Tasnim,

Thanks for your reply. Yes that's something what I was looking for.


Post Reply