ItEr13S14ArquitecturaClientesItEr11S12: When adding tasks the height of task list is updated.
This commit is contained in:
parent
967c18eaf1
commit
361f3ea7d3
1 changed files with 8 additions and 2 deletions
|
|
@ -96,6 +96,9 @@ public class TaskList extends XulElement implements AfterCompose {
|
|||
task.afterCompose();
|
||||
if (relocate) {
|
||||
response(null, new AuInvoke(task, "recolocateAfterAdding"));
|
||||
setHeight(getHeight());// forcing smart update
|
||||
adjustZoomColumnsHeight();
|
||||
getGanttPanel().getDependencyList().redrawDependencies();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -198,8 +201,7 @@ public class TaskList extends XulElement implements AfterCompose {
|
|||
for (Task task : getTasks()) {
|
||||
task.zoomChanged();
|
||||
}
|
||||
response("adjust_height", new AuInvoke(TaskList.this,
|
||||
"adjust_height"));
|
||||
adjustZoomColumnsHeight();
|
||||
}
|
||||
};
|
||||
getTimeTracker().addZoomListener(zoomLevelChangedListener);
|
||||
|
|
@ -237,4 +239,8 @@ public class TaskList extends XulElement implements AfterCompose {
|
|||
return taskEditFormComposer;
|
||||
}
|
||||
|
||||
private void adjustZoomColumnsHeight() {
|
||||
response("adjust_height", new AuInvoke(TaskList.this, "adjust_height"));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue