icons: fix grade more icons
Media and pfp fallback icons Also fix dashboard user os icon
This commit is contained in:
parent
ce3467c8e2
commit
8308060a75
5 changed files with 10 additions and 4 deletions
|
|
@ -128,6 +128,7 @@ Item {
|
|||
MaterialIcon {
|
||||
anchors.centerIn: parent
|
||||
|
||||
grade: 200
|
||||
text: "art_track"
|
||||
color: Colours.palette.m3onSurfaceVariant
|
||||
font.pointSize: (parent.width * 0.4) || 1
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ Item {
|
|||
MaterialIcon {
|
||||
anchors.centerIn: parent
|
||||
|
||||
grade: 200
|
||||
text: "art_track"
|
||||
color: Colours.palette.m3onSurfaceVariant
|
||||
font.pointSize: (parent.width * 0.4) || 1
|
||||
|
|
|
|||
|
|
@ -27,7 +27,8 @@ Row {
|
|||
|
||||
text: "person"
|
||||
fill: 1
|
||||
font.pointSize: (info.implicitHeight / 2) || 1
|
||||
grade: 200
|
||||
font.pointSize: Math.floor(info.implicitHeight / 2) || 1
|
||||
}
|
||||
|
||||
CachingImage {
|
||||
|
|
@ -126,6 +127,7 @@ Row {
|
|||
icon: Icons.osIcon
|
||||
text: Icons.osName
|
||||
colour: Colours.palette.m3primary
|
||||
materialIcon: false
|
||||
}
|
||||
|
||||
InfoLine {
|
||||
|
|
@ -166,6 +168,7 @@ Row {
|
|||
required property string icon
|
||||
required property string text
|
||||
required property color colour
|
||||
property bool materialIcon: true
|
||||
|
||||
implicitWidth: icon.implicitWidth + text.width + text.anchors.leftMargin
|
||||
implicitHeight: Math.max(icon.implicitHeight, text.implicitHeight)
|
||||
|
|
@ -176,12 +179,11 @@ Row {
|
|||
anchors.left: parent.left
|
||||
anchors.leftMargin: (Config.dashboard.sizes.infoIconSize - implicitWidth) / 2
|
||||
|
||||
fill: 1
|
||||
text: line.icon
|
||||
color: line.colour
|
||||
font.pointSize: Appearance.font.size.normal
|
||||
font.variableAxes: ({
|
||||
FILL: 1
|
||||
})
|
||||
font.family: line.materialIcon ? Appearance.font.family.material : Appearance.font.family.sans
|
||||
}
|
||||
|
||||
StyledText {
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ ColumnLayout {
|
|||
|
||||
text: "person"
|
||||
fill: 1
|
||||
grade: 200
|
||||
font.pointSize: Config.lock.sizes.faceSize / 2
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ RowLayout {
|
|||
MaterialIcon {
|
||||
anchors.centerIn: parent
|
||||
|
||||
grade: 200
|
||||
text: "art_track"
|
||||
color: Colours.palette.m3onSurfaceVariant
|
||||
font.pointSize: (root.isLarge ? Config.lock.sizes.mediaCoverSize : Config.lock.sizes.mediaCoverSizeSmall) * 0.4
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue