From 74c6091cfc4e023975018fb434a3a492fdcb5c76 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 28 Jun 2018 10:03:53 +0800 Subject: [PATCH] Update comment.go make the comment box's height auto and having the minimum height. --- comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comment.go b/comment.go index b1853ad..9548d78 100644 --- a/comment.go +++ b/comment.go @@ -125,7 +125,7 @@ func (f *File) addDrawingVML(commentID int, drawingVML, cell string, lineCount, ObjectType: "Note", Anchor: fmt.Sprintf( "%d, 23, %d, 0, %d, %d, %d, 5", - 1+yAxis, 1+xAxis, 1+yAxis+lineCount, (colCount*991)/175+5, 2+xAxis), + 1+yAxis, 1+xAxis, 2+yAxis+lineCount, colCount+yAxis, 2+xAxis+lineCount), AutoFill: "True", Row: xAxis, Column: yAxis,