[Q]Alignment and wrap-text
See original GitHub issue💬 Questions and Help
Hi!
I have a doubt with the aligment property and the wrap text option.
When i do:
worksheet.getRow(startRow).alignment = { wrapText: true };
The cells auto-fit the height and work fine, the problem comes when i use this option and the cells are merged. If the cells are merged the height is the default height…
Is there any way to use the option with merged cells?
Thanks in advance!!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Wrap text around a picture in Word - Microsoft Support
Select a picture. Go to Picture Format or Format > Wrap Text > Square. ... Select Position > More Layout Options. On the...
Read more >How to wrap text in Excel automatically and manually - Ablebits
The fastest way is to select the cell(s) and click the Wrap Text button (Home tab > Alignment group) to toggle text wrapping...
Read more >How to Wrap Text in Excel (Easy Tutorial)
On the Home tab, in the Alignment group, click Wrap Text. Click Wrap Text. Result: Wrapped Text in Excel. 3. Click on the...
Read more >4 Ways to Wrap Text in Excel
Go to the Alignment tab in the menu ➜ Check the Wrap text option in the Text control section ➜ then press the...
Read more >Wrapping and breaking text - CSS: Cascading Style Sheets
In CSS, if you have an unbreakable string such as a very long word, by default it will overflow any container that is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is by design https://excel.tips.net/T003207_Automatic_Row_Height_For_Merged_Cells_with_Text_Wrap.html
I try to anthor way to resolve this problem. just set row height,i will compute the word length and row count
worksheet.getRow(i).height = word length / row contain length * 13.5