Skip to content

Commit

Permalink
Merge pull request youseries#303 from lee-hong/master
Browse files Browse the repository at this point in the history
修复多列表格中行高度设置错误导致的pdf导出数据丢失问题
  • Loading branch information
高杰 authored May 10, 2018
2 parents bb5ddd4 + cba3fd3 commit a037d0d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,10 @@ public void doDataWrapCompute(Context context){
int dif=totalLineHeight-totalRowHeight;
if(dif>0){
int rowHeight=row.getHeight();
row.setRealHeight(rowHeight+dif);
int newRowHeight = rowHeight+dif;
if(row.getRealHeight()< newRowHeight){
row.setRealHeight(newRowHeight);
}
}
}

Expand Down

0 comments on commit a037d0d

Please sign in to comment.