Gantt grid: first column not straight

Post Reply
rh@syconics.de
Sponsor
Sponsor
Posts: 92
Joined: 08 Feb 2016, 18:03
Name: Reinhard Hansmann
Location: Frankenberg/Eder (Germany)
Company Name: syconics UGhb & Co. KG

Gantt grid: first column not straight

Post by rh@syconics.de »

First column in Gantt grid looks a little bit strange and confusing because depending on existing subtasks there is the text indented or not. In my opinion text should appear straight at same start position.

The way it looks in Rukovoditel is attached as image "Gantt 1"

The way it should look (and how it looks in examples of the DHTMLX component) is attached as image "Gantt 2"
Attachments
Gantt grid 1.png
Gantt grid 2.png
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Gantt grid: first column not straight

Post by support »

DHTMLX is third party lib and I can't control show it displays.
rh@syconics.de
Sponsor
Sponsor
Posts: 92
Joined: 08 Feb 2016, 18:03
Name: Reinhard Hansmann
Location: Frankenberg/Eder (Germany)
Company Name: syconics UGhb & Co. KG

Re: Gantt grid: first column not straight

Post by rh@syconics.de »

Why does it show up in the origin DHTMLX examples in the 2nd image correct?
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Gantt grid: first column not straight

Post by support »

I just remember. You can find next line in css/default.css

Code: Select all

.gantt_tree_icon.gantt_blank{
	width: 0px;
}
If you remove it then it will works like in original DHTMLX

Someone suggested to remove this extra space to have more space for task name.
rh@syconics.de
Sponsor
Sponsor
Posts: 92
Joined: 08 Feb 2016, 18:03
Name: Reinhard Hansmann
Location: Frankenberg/Eder (Germany)
Company Name: syconics UGhb & Co. KG

Re: Gantt grid: first column not straight

Post by rh@syconics.de »

Works perfect now.

I suggest to comment out these lines in standard delivery. If somebody needs additional space he can uncomment. In my opinion it's easier to to see correct nesting than to save 10 - 20 pixel because this really doesn't matter.
Post Reply