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-audio": "device-speaker",
|
||||||
"settings-display": "device-desktop",
|
"settings-display": "device-desktop",
|
||||||
"settings-network": "antenna",
|
"settings-network": "antenna",
|
||||||
"settings-brightness": "brightness-up",
|
"settings-brightness": "brightness-up-filled",
|
||||||
"settings-weather": "cloud-rain",
|
"settings-weather": "cloud-rain",
|
||||||
"settings-color-scheme": "palette",
|
"settings-color-scheme": "palette",
|
||||||
"settings-wallpaper": "paint",
|
"settings-wallpaper": "paint",
|
||||||
|
|
|
||||||
|
|
@ -402,11 +402,13 @@ NPanel {
|
||||||
anchors.rightMargin: Style.marginS * scaling
|
anchors.rightMargin: Style.marginS * scaling
|
||||||
spacing: Style.marginM * scaling
|
spacing: Style.marginM * scaling
|
||||||
|
|
||||||
|
// Tab icon
|
||||||
NIcon {
|
NIcon {
|
||||||
icon: modelData.icon
|
icon: modelData.icon
|
||||||
color: tabTextColor
|
color: tabTextColor
|
||||||
font.pointSize: Style.fontSizeXL * scaling
|
font.pointSize: Style.fontSizeXL * scaling
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tab label
|
// Tab label
|
||||||
NText {
|
NText {
|
||||||
text: modelData.label
|
text: modelData.label
|
||||||
|
|
@ -460,7 +462,14 @@ NPanel {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
spacing: Style.marginS * scaling
|
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 {
|
NText {
|
||||||
text: root.tabsModel[currentTabIndex]?.label || ""
|
text: root.tabsModel[currentTabIndex]?.label || ""
|
||||||
font.pointSize: Style.fontSizeXL * scaling
|
font.pointSize: Style.fontSizeXL * scaling
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,7 @@ Rectangle {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
icon: root.icon
|
icon: root.icon
|
||||||
color: Color.mOnPrimary
|
color: Color.mOnPrimary
|
||||||
|
font.pointSize: Style.fontSizeM * scaling
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue