More icons work

This commit is contained in:
LemmyCook 2025-09-09 17:34:14 -04:00
parent 48f6c0705b
commit 955369ab13
17 changed files with 55 additions and 33 deletions

View file

@ -57,7 +57,7 @@ RowLayout {
NIcon {
visible: root.checked
anchors.centerIn: parent
icon: "check-lg"
icon: "check"
color: root.activeOnColor
font.pointSize: Math.max(Style.fontSizeS, root.baseSize * 0.7) * scaling
}

View file

@ -59,7 +59,7 @@ Rectangle {
}
NIcon {
icon: "paint-bucket"
icon: "color-picker"
color: Color.mOnSurfaceVariant
}
}

View file

@ -130,7 +130,7 @@ Popup {
spacing: Style.marginS * scaling
NIcon {
icon: "eyedropper"
icon: "color-picker"
font.pointSize: Style.fontSizeXXL * scaling
color: Color.mPrimary
}
@ -492,7 +492,6 @@ Popup {
NButton {
id: cancelButton
text: "Cancel"
icon: "close"
outlined: cancelButton.hovered ? false : true
customHeight: 36 * scaling
customWidth: 100 * scaling
@ -503,7 +502,7 @@ Popup {
NButton {
text: "Apply"
icon: "check-lg"
icon: "check"
customHeight: 36 * scaling
customWidth: 100 * scaling
onClicked: {

View file

@ -48,7 +48,7 @@ Rectangle {
NIcon {
icon: root.icon
font.pointSize: Math.max(1, root.width * 0.5)
font.pointSize: Math.max(1, root.width * 0.47)
color: root.enabled && root.hovering ? colorFgHover : colorFg
// Center horizontally
x: (root.width - width) / 2