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

fix bug 29327

parent 4a0cd357
...@@ -4866,7 +4866,7 @@ ...@@ -4866,7 +4866,7 @@
var fl = new CellFlags(); var fl = new CellFlags();
if (null !== c) { if (null !== c) {
fl.wrapText = c.getWrap(); fl.wrapText = c.getWrap();
fl.shrinkToFit = c.getShrinkToFit(); fl.shrinkToFit = fl.wrapText ? false : c.getShrinkToFit();
fl.merged = c.hasMerged(); fl.merged = c.hasMerged();
fl.textAlign = c.getAlignHorizontalByValue(); fl.textAlign = c.getAlignHorizontalByValue();
} }
......
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