Update comment.go

make the comment box's height auto and having the minimum height.
formula
xuri 7 years ago committed by GitHub
parent 741810a863
commit 74c6091cfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -125,7 +125,7 @@ func (f *File) addDrawingVML(commentID int, drawingVML, cell string, lineCount,
ObjectType: "Note", ObjectType: "Note",
Anchor: fmt.Sprintf( Anchor: fmt.Sprintf(
"%d, 23, %d, 0, %d, %d, %d, 5", "%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", AutoFill: "True",
Row: xAxis, Row: xAxis,
Column: yAxis, Column: yAxis,

Loading…
Cancel
Save