Lint mon cache a fait que ça n'avait pas été corrigé à la première passe

This commit is contained in:
Nigel Sheldon 2021-01-03 17:23:46 +01:00
commit 52e4266218
4 changed files with 13 additions and 16 deletions

View file

@ -945,9 +945,9 @@ class GanttGraph extends Graph
// Firdst find out the maximum width of each object column
$titlewidth = max(
max(
$this->GetMaxLabelWidth(),
$this->scale->tableTitle->GetWidth($this->img)
),
$this->GetMaxLabelWidth(),
$this->scale->tableTitle->GetWidth($this->img)
),
$this->scale->actinfo->GetWidth($this->img)
);
@ -1044,9 +1044,9 @@ class GanttGraph extends Graph
$maxwidth=max(
$this->scale->actinfo->GetWidth($this->img),
max(
$this->GetMaxLabelWidth(),
$this->scale->tableTitle->GetWidth($this->img)
)
$this->GetMaxLabelWidth(),
$this->scale->tableTitle->GetWidth($this->img)
)
);
$this->scale->SetLabelWidth($maxwidth+$this->scale->divider->iWeight);//*(1+$this->iLabelHMarginFactor));