Browse Source

headers wrap_text

vnc-console 1 year ago
parent
commit
51d8f87dcc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      winmentor/mentorutils.py

+ 1 - 1
winmentor/mentorutils.py

@@ -38,7 +38,7 @@ class Mentorutils(WinMentor):
         dest_book.add_vba_project('./vbaProject.bin')
         sheet_ = dest_book.add_worksheet(w_sheet_name)
         sheet2_ = dest_book.add_worksheet('to')
-        head_format = dest_book.add_format({'bold': True})
+        head_format = dest_book.add_format({'bold': True, 'text_wrap': True})
         num_format = dest_book.add_format()
         num_format.set_num_format('#,##0.00')
         sheet_.autofilter(self.row - 1, 0, 100, len(n_headers) - 1)