Icons: added icons to settings main content title + slightly smaller NCircleStat badges

This commit is contained in:
LemmyCook 2025-09-09 22:17:48 -04:00
parent 84706cab4b
commit 833808152e
3 changed files with 12 additions and 2 deletions

View file

@ -402,11 +402,13 @@ NPanel {
anchors.rightMargin: Style.marginS * scaling
spacing: Style.marginM * scaling
// Tab icon
NIcon {
icon: modelData.icon
color: tabTextColor
font.pointSize: Style.fontSizeXL * scaling
}
// Tab label
NText {
text: modelData.label
@ -460,7 +462,14 @@ NPanel {
Layout.fillWidth: true
spacing: Style.marginS * scaling
// Tab title
// Main icon
NIcon {
icon: root.tabsModel[currentTabIndex]?.icon
color: Color.mPrimary
font.pointSize: Style.fontSizeXL * scaling
}
// Main title
NText {
text: root.tabsModel[currentTabIndex]?.label || ""
font.pointSize: Style.fontSizeXL * scaling