Commit d86be907 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug #1742347: show correct column width in timeline

behatnotneeded

Change-Id: Id2ded987bc602e5c62c319866f726e4cd646f1cf
parent e4747fa2
......@@ -7185,9 +7185,12 @@ class View {
}
$this->columnsperrow = $colsperrow;
$this->columns = array();
$layout = $this->get_layout();
for ($i = 1; $i <= $this->numrows; $i++) {
$widths = explode(',', $layout->rows[$i]['widths']);
for ($j = 1; $j <= $data->columnsperrow->{$i}->columns; $j++) {
$this->columns[$i][$j] = array('blockinstances' => array());
$this->columns[$i][$j]['width'] = $widths[$j-1];
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment