You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x] a bug report
- [x] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
What is the expected behavior?
I would have hoped that the calculateColumnWidth would take into consideration the alignment of the header.
What is the current behavior?
The calculation looks great if the header has a HORIZONTAL_LEFT, but if the header is HORIZONTAL_CENTER the calculation could be to small.
Header is HORIZONTAL_LEFT
Header is HORIZONTAL_CENTER
What features do you think are causing the issue
Reader
Writer
Styles
Data Validations
Formula Calculations
Charts
AutoFilter
Form Elements
Which versions of PhpSpreadsheet and PHP are affected?
PhpSpreadsheet - 1.27.1
PHP - 8.1.13
The text was updated successfully, but these errors were encountered:
@MarkBaker I have 3 PR's which I think should be part of the next release PR #3372, PR #3391, PR #3392. I will try to merge them by tomorrow morning (California time).
This is:
What is the expected behavior?
I would have hoped that the calculateColumnWidth would take into consideration the alignment of the header.
What is the current behavior?
The calculation looks great if the header has a HORIZONTAL_LEFT, but if the header is HORIZONTAL_CENTER the calculation could be to small.
Header is HORIZONTAL_LEFT

Header is HORIZONTAL_CENTER

What features do you think are causing the issue
Which versions of PhpSpreadsheet and PHP are affected?
PhpSpreadsheet - 1.27.1
PHP - 8.1.13
The text was updated successfully, but these errors were encountered: