summaryrefslogtreecommitdiff
path: root/comment.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2018-06-28 10:03:53 +0800
committerGitHub <noreply@github.com>2018-06-28 10:03:53 +0800
commit74c6091cfc4e023975018fb434a3a492fdcb5c76 (patch)
treef30c295d8a8b9e4ee1a2b97f3da242c01f867824 /comment.go
parent741810a8635d51b639a9a279211386a75a7b046f (diff)
Update comment.go
make the comment box's height auto and having the minimum height.
Diffstat (limited to 'comment.go')
-rw-r--r--comment.go2
1 files changed, 1 insertions, 1 deletions
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,