Settings: better alignment with new icons + check icon on wallpaper selector

This commit is contained in:
LemmyCook 2025-09-08 16:17:34 -04:00
parent 08d2747f1e
commit 170fbea7a4
3 changed files with 6 additions and 6 deletions

View file

@ -403,16 +403,15 @@ NPanel {
spacing: Style.marginS * scaling spacing: Style.marginS * scaling
// Tab icon // Tab icon
Rectangle { Item {
color: Color.transparent
width: 20 * scaling width: 20 * scaling
height: 20 * scaling height: width
NIcon { NIcon {
text: FontService.icons[modelData.icon] text: FontService.icons[modelData.icon]
color: tabTextColor color: tabTextColor
font.pointSize: Style.fontSizeL * scaling font.pointSize: Style.fontSizeL * scaling
anchors.fill: parent anchors.centerIn: parent
} }
} }
@ -423,6 +422,7 @@ NPanel {
font.pointSize: Style.fontSizeM * scaling font.pointSize: Style.fontSizeM * scaling
font.weight: Style.fontWeightBold font.weight: Style.fontWeightBold
Layout.fillWidth: true Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter
} }
} }

View file

@ -181,7 +181,7 @@ ColumnLayout {
visible: isSelected visible: isSelected
NIcon { NIcon {
text: "check" text: FontService.icons["check"]
font.pointSize: Style.fontSizeM * scaling font.pointSize: Style.fontSizeM * scaling
font.weight: Style.fontWeightBold font.weight: Style.fontWeightBold
color: Color.mOnSecondary color: Color.mOnSecondary

View file

@ -36,7 +36,7 @@ Singleton {
"close": "\uf00D", "close": "\uf00D",
"check": "\uf00C", "check": "\uf00C",
"panel": "\uF28C", "panel": "\uF28C",
"memory": "\uF2D6", "memory": "\uF2D5",
"trash": "\uF014", "trash": "\uF014",
"image": "\uF03E", "image": "\uF03E",
"refresh": "\uF021", "refresh": "\uF021",