소스 검색

headers wrap_text

vnc-console 1 년 전
부모
커밋
51d8f87dcc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)