mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Icons: added icons to settings main content title + slightly smaller NCircleStat badges
This commit is contained in:
@@ -94,7 +94,7 @@ Singleton {
|
||||
"settings-audio": "device-speaker",
|
||||
"settings-display": "device-desktop",
|
||||
"settings-network": "antenna",
|
||||
"settings-brightness": "brightness-up",
|
||||
"settings-brightness": "brightness-up-filled",
|
||||
"settings-weather": "cloud-rain",
|
||||
"settings-color-scheme": "palette",
|
||||
"settings-wallpaper": "paint",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -102,6 +102,7 @@ Rectangle {
|
||||
anchors.centerIn: parent
|
||||
icon: root.icon
|
||||
color: Color.mOnPrimary
|
||||
font.pointSize: Style.fontSizeM * scaling
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user