-
Notifications
You must be signed in to change notification settings - Fork 491
Open
Description
When using the following function, it doesn't seem to set the cells to wrapped properly. If I use the exact same process on an individual cell it works properly. https://pkg.go.dev/gitea.com/unidoc/unioffice/spreadsheet#Column.SetStyle
Expected Behavior
When using Column.SetStyle with the wrapped style, all cells in that column should become wrapped.
An example of the issue:
style := ss.StyleSheet.AddCellStyle()
style.SetWrapped(true)
sheet.Column(1).SetStyle(style)
sheet.Column(1).SetWidth(200)
sheet.Cell("A7").SetStyle(style)In this example, the cell A7 will be wrapped, but no other cells in the first column will be wrapped. I can verify this is the correct column because SetWidth(200) works as intended.
Metadata
Metadata
Assignees
Labels
No labels