small adjustments to representation

This commit is contained in:
Jeroen Baten 2014-03-17 14:44:46 +01:00 committed by Oscar Gonzalez Fernandez
parent 54bc5aff14
commit 8cafdd2d62
4 changed files with 10 additions and 6 deletions

View file

@ -61,6 +61,7 @@ import org.zkoss.zul.api.Treerow;
* @author Óscar González Fernández <ogonzalez@igalia.com>
* @author Manuel Rego Casasnovas <mrego@igalia.com>
* @author Lorenzo Tilve Álvaro <ltilve@igalia.com>
* @author Jeroen Baten <jeroen@jeroenbaten.nl>
*/
public class LeftTasksTreeRow extends GenericForwardComposer {
@ -376,7 +377,8 @@ public class LeftTasksTreeRow extends GenericForwardComposer {
children).get(0);
hoursStatusDiv = (Div) hlayout.getChildren().get(0);
budgetStatusDiv = (Div) hlayout.getChildren().get(1);
// there is a <label> "/" between the divs
budgetStatusDiv = (Div) hlayout.getChildren().get(2);
}

View file

@ -28,7 +28,7 @@
<treecol label="${ganttzk_i18n:_('Name')}" sclass="tree-text" />
<treecol label="${ganttzk_i18n:_('Start')}" width="76px" />
<treecol label="${ganttzk_i18n:_('End')}" width="76px" />
<treecol label="${ganttzk_i18n:_('Status')}" width="76px" />
<treecol label="${ganttzk_i18n:_('Status T/M')}" width="76px" />
</treecols>
</tree>
</div>

View file

@ -34,8 +34,9 @@
</treecell>
<treecell>
<hlayout class="projectstatus-layout">
<div />
<div />
<div />
<label>/</label>
<div />
</hlayout>
</treecell>
</treerow>

View file

@ -34,8 +34,9 @@
</treecell>
<treecell>
<hlayout class="projectstatus-layout">
<div />
<div />
<div />
<label>/</label>
<div />
</hlayout>
</treecell>
</treerow>