ItEr29S06CUAsignacionGrupoRecursosAPlanificacionItEr28S06: Limiting the size of the first level items

This commit is contained in:
Óscar González Fernández 2009-10-11 12:57:06 +02:00
parent e5c2694679
commit 778409fbe4
2 changed files with 5 additions and 1 deletions

View file

@ -64,6 +64,10 @@ public abstract class TimeTrackerComponent extends HtmlMacroComponent {
timeTrackerElementId = timetrackerId; timeTrackerElementId = timetrackerId;
} }
public int getHorizontalSizePixels() {
return timeTracker.getHorizontalSize();
}
public String getTimeTrackerId() { public String getTimeTrackerId() {
return timeTrackerElementId; return timeTrackerElementId;
} }

View file

@ -59,7 +59,7 @@ function onDecrease(timetracker) {
</hbox> </hbox>
</n:div> </n:div>
<grid id="firstleveldetails"> <grid id="firstleveldetails" width="${top.horizontalSizePixels}px;">
<columns> <columns>
<column label="${each.name}" width="${each.size}px" <column label="${each.name}" width="${each.size}px"
forEach="${top.detailsFirstLevel}"></column> forEach="${top.detailsFirstLevel}"></column>