소스 검색
Merge pull request #369 from lee-hong/master
Update Cell.java
master
高杰
6 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
1개의 추가작업 그리고
1개의 파일을 삭제
-
ureport2-core/src/main/java/com/bstek/ureport/model/Cell.java
|
|
@ -596,7 +596,7 @@ public class Cell implements ReportCell { |
|
|
|
lineHeight=cellStyle.getLineHeight(); |
|
|
|
} |
|
|
|
fontSize=fontSize*lineHeight; |
|
|
|
int singleLineHeight=UnitUtils.pointToPixel(fontSize);//fontMetrics.getHeight();
|
|
|
|
int singleLineHeight=UnitUtils.pointToPixel(fontSize)-2;//fontMetrics.getHeight();
|
|
|
|
if(textWidth<=totalColumnWidth){ |
|
|
|
return; |
|
|
|
} |
|
|
|