Skip to content

The only downloader you need. 下载器的集大成者。

feat(Setting): 设置组标题改用常规字重

XiaoYouChRbc773ec8f242
diff --git a/app/view/components/setting_card_group.py b/app/view/components/setting_card_group.py
index 7f9714bb..fc99196a 100644
--- a/app/view/components/setting_card_group.py
+++ b/app/view/components/setting_card_group.py
@@ -7,8 +7,8 @@ from PySide6.QtCore import (
from PySide6.QtGui import QColor, QPainter
from PySide6.QtWidgets import QApplication, QHBoxLayout, QLabel, QLayout, QSizePolicy, QVBoxLayout, QWidget
from qfluentwidgets import (
- CardWidget, FluentIcon, FluentStyleSheet, SettingCard,
- StrongBodyLabel, TransparentToolButton, isDarkTheme,
+ BodyLabel, CardWidget, FluentIcon, FluentStyleSheet, SettingCard,
+ TransparentToolButton, isDarkTheme,
)
from qfluentwidgets.components.settings.expand_setting_card import (
ExpandBorderWidget, ExpandButton, GroupSeparator, HeaderSettingCard,
@@ -112,7 +112,7 @@ class CollapsibleSettingCardGroup(CardWidget):
super().__init__(parent)
self.setObjectName(key)
- self.titleLabel = StrongBodyLabel(title, self)
+ self.titleLabel = BodyLabel(title, self)
self.moveUpButton = TransparentToolButton(FluentIcon.UP, self)
self.moveDownButton = TransparentToolButton(FluentIcon.DOWN, self)
self.expandButton = ExpandButton(self)