pjfanning commented on issue #892: URL: https://github.com/apache/poi/issues/892#issuecomment-3245415207
I added this comment to issue 68094. There are still some unreleased changes so the most practical solution for people who think autoSizeColumn is making the columns too narrow or too wide is to make the autosize calls and then to loop over the columns again. You can call getColumnWidth for each column and adjust the value by for instance, adding an arbitrary amount by calling setColumnWidth. https://javadoc.io/static/org.apache.poi/poi-ooxml/5.4.1/org/apache/poi/xssf/usermodel/XSSFSheet.html#getColumnWidth-int- https://javadoc.io/static/org.apache.poi/poi-ooxml/5.4.1/org/apache/poi/xssf/usermodel/XSSFSheet.html#setColumnWidth-int-int- -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org