Added cell size adjust to the KiCost worksheet.
This commit is contained in:
parent
16ddb9465f
commit
1d44a6a551
|
|
@ -323,6 +323,9 @@ def create_kicost_sheet(workbook, groups, cfg):
|
|||
query_part_info(parts)
|
||||
# Create a class to hold the spreadsheet parameters
|
||||
ss = Spreadsheet(workbook, ws_names[ws])
|
||||
if hasattr(ss, 'ADJUST_ROW_AND_COL_SIZE'):
|
||||
ss.ADJUST_ROW_AND_COL_SIZE = True
|
||||
ss.MAX_COL_WIDTH = cfg.xlsx.max_col_width
|
||||
# Add a worksheet with costs to the spreadsheet
|
||||
create_worksheet(ss, logger, parts, prj_info)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue