Update comment.go

make the comment box's height auto and having the minimum height.
This commit is contained in:
xuri 2018-06-28 10:03:53 +08:00 committed by GitHub
parent 741810a863
commit 74c6091cfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,