Icons: 99% done

This commit is contained in:
LemmyCook 2025-09-08 22:21:18 -04:00
parent 1f8c55d581
commit bacd65b274
19 changed files with 51 additions and 90 deletions

View file

@ -54,7 +54,7 @@ Rectangle {
// Fallback icon
NIcon {
anchors.centerIn: parent
text: fallbackIcon
icon: fallbackIcon
font.pointSize: fallbackIconSize
visible: fallbackIcon !== undefined && fallbackIcon !== "" && (imagePath === undefined || imagePath === "")
z: 0

View file

@ -74,7 +74,7 @@ Rectangle {
// Fallback icon
NIcon {
anchors.centerIn: parent
text: fallbackIcon
icon: fallbackIcon
font.pointSize: fallbackIconSize
visible: fallbackIcon !== undefined && fallbackIcon !== "" && (imagePath === undefined || imagePath === "")
z: 0

View file

@ -118,7 +118,7 @@ Item {
// Icon
NIcon {
id: icon
text: (root.type == "warning") ? "warning" : "info"
icon: (root.type == "warning") ? "exclamation-triangle" : "check-circle"
color: {
switch (root.type) {
case "warning":