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
comment.Style.Size.SetAutomaticSize(); does not size the comment background to fit its text.
Excel version:
Microsoft® Excel for Mac
Version 16.83 (24031120)
What is the expected behavior or new feature?
Comment size resizes
Reproducibility
varwb=new XLWorkbook();varws= wb.Worksheets.Add("CommentSize");varcomment= ws.Cell("A1").CreateComment();
comment.AddText("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.");
comment.Style.Size.SetAutomaticSize();
wb.SaveAs("CommentsSize.xlsx");
Do you want to request a feature or report a bug?
Did you test against the latest CI build?
Version of ClosedXML
0.102.2
What is the current behavior?
comment.Style.Size.SetAutomaticSize();
does not size the comment background to fit its text.Excel version:
Microsoft® Excel for Mac
Version 16.83 (24031120)
What is the expected behavior or new feature?
Comment size resizes
Reproducibility
Produces this file
CommentsSize.xlsx
The text was updated successfully, but these errors were encountered: