更新 main.py

This commit is contained in:
moyan 2024-09-15 01:03:22 +08:00
parent 2aa7bccd8d
commit 26fdc5c7bc

View File

@ -39,7 +39,7 @@ class MainWindow(FluentWindow):
# 初始化菜单 # 初始化菜单
def init_menu(self): def init_menu(self):
# 设置导航栏展开宽度 # 设置导航栏展开宽度
self.navigationInterface.setExpandWidth(150) self.navigationInterface.setExpandWidth(114)
# 遍历id和对象映射 # 遍历id和对象映射
for name, obj in self.id2obj.items(): for name, obj in self.id2obj.items():
# 设置对象名称 # 设置对象名称