mirror of
https://github.com/KenanZhu/AutoLibrary.git
synced 2026-06-17 23:13:03 +08:00
fix(gui): ThemeInfoLabel 添加细边框
- 使用 palette(mid) 自适应当前主题色调
This commit is contained in:
@@ -135,6 +135,9 @@ class ALSettingsWidget(QWidget, Ui_ALSettingsWidget):
|
||||
self.populateStyles()
|
||||
self.setNavigationIcons()
|
||||
self.ThemeInfoLabel.setTextFormat(Qt.TextFormat.RichText)
|
||||
self.ThemeInfoLabel.setStyleSheet(
|
||||
"border: 1px solid palette(mid); border-radius: 4px; padding: 4px;"
|
||||
)
|
||||
|
||||
def setNavigationIcons(
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user