Commit d6a1d36a authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix autoFitRowHeight (with default + 1px)

parent f6c7973e
...@@ -10364,10 +10364,10 @@ ...@@ -10364,10 +10364,10 @@
} }
} }
height = Math.max(height, ct.metrics.height); height = Math.max(height, ct.metrics.height + t.height_1px);
} }
t.model.setRowBestFit(true, Math.min(height + t.height_1px, t.maxRowHeight), r, r); t.model.setRowBestFit(true, Math.min(height, t.maxRowHeight), r, r);
} }
History.EndTransaction(); History.EndTransaction();
......
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