[BUG][XLSX] Row height does not auto-shrink after expanding column width for wrapped text
There is an issue with the "Wrap Text" functionality where the row height does not dynamically recalculate and shrink when the column width is increased.
Steps to reproduce:
Enable "Wrap Text" for a cell.
Enter a long string of text that forces the row to expand vertically to fit the content.
Manually increase the width of the column so the text could now fit in fewer lines (or a single line).
Actual result:
The row height remains stretched, leaving unnecessary empty space. The height only resets to the correct size after double-clicking the cell or manually triggering a recalculation.
Expected result:
The row height should automatically adjust (shrink) as the column expands, ensuring there is no excess vertical space, similar to the behavior in Microsoft Excel or Google Sheets.
2
votes