6 lines
452 B
Markdown
6 lines
452 B
Markdown
#### 其他
|
||
customtkinter的tabview组件不支持修改字体大小,可以参考 [Changing Font of a Tabview](https://github.com/TomSchimansky/CustomTkinter/issues/2296) 进行手动修改源码实现:
|
||
a. 运行 `pip show customtkinter`,获取到库的路径
|
||
b. 修改.../windows/widgets/ctk_tabview.py
|
||
c. 增加 from .font.ctk_font import CTkFont
|
||
d. 在大概 78 行的位置,增加 font=CTkFont(family="Consolas", size=18, weight='bold') |