屏模组添加colorinfo设置、修改配置项UI样式
This commit is contained in:
@@ -45,11 +45,7 @@ def load_icon(png_path):
|
||||
|
||||
|
||||
def backgroud_style_set():
|
||||
style = ttk.Style()
|
||||
# 移除背景色设置,使用默认背景色
|
||||
style.configure(
|
||||
"SidebarSelected.TButton",
|
||||
# anchor="w",
|
||||
padding=10,
|
||||
background="#005470",
|
||||
)
|
||||
style = ttk.Style() # noqa: F841 - 保持原副作用:确保 Style 实例化
|
||||
# 现代化样式集中注册(Card / ConfigHeader / Toolbar / StatusBar / Sidebar 等)
|
||||
from app.views.modern_styles import apply_modern_styles
|
||||
apply_modern_styles()
|
||||
|
||||
Reference in New Issue
Block a user