Skip to content

Commit

Permalink
Fix for Issue #64
Browse files Browse the repository at this point in the history
  • Loading branch information
GitBrent authored and GitBrent committed Apr 8, 2017
1 parent 0d65405 commit f1dfe61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/pptxgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -2206,6 +2206,8 @@ var PptxGenJS = function(){
var numColWidth = Math.floor( ( (gObjPptx.pptLayout.width/EMU) - arrTableMargin[1] - arrTableMargin[3] ) / arrRows[0].length );
opt.colW = [];
for (var idx=0; idx<arrRows[0].length; idx++) { opt.colW.push( numColWidth ); }
opt.cx = Math.floor(numColWidth * arrRows[0].length);
opt.w = opt.cx;
}
}
else {
Expand Down

0 comments on commit f1dfe61

Please # to comment.