瀏覽代碼
Merge pull request #369 from lee-hong/master
Update Cell.java
master
高杰
6 年前
提交者
GitHub
沒有發現已知的金鑰在資料庫的簽署中
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; |
|
|
|
} |
|
|
|