diff options
author | xuri <xuri.me@gmail.com> | 2018-06-28 10:03:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-28 10:03:53 +0800 |
commit | 74c6091cfc4e023975018fb434a3a492fdcb5c76 (patch) | |
tree | f30c295d8a8b9e4ee1a2b97f3da242c01f867824 /comment.go | |
parent | 741810a8635d51b639a9a279211386a75a7b046f (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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |