Skip to content

Commit

Permalink
修复多列表格中行高度设置错误导致的pdf导出数据丢失问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-hong authored May 9, 2018
1 parent 921d5ac commit cba3fd3
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 cba3fd3

Please sign in to comment.