Icons: added icons to settings main content title + slightly smaller NCircleStat badges
This commit is contained in:
parent
84706cab4b
commit
833808152e
3 changed files with 12 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue