Center Fallback icon

This commit is contained in:
LemmyCook
2025-09-20 17:23:49 -04:00
parent 10534b46f9
commit aed7440c5b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -54,6 +54,7 @@ Rectangle {
// Fallback icon
Loader {
active: fallbackIcon !== undefined && fallbackIcon !== "" && (imagePath === undefined || imagePath === "")
anchors.centerIn: parent
sourceComponent: NIcon {
anchors.centerIn: parent
icon: fallbackIcon
+1
View File
@@ -74,6 +74,7 @@ Rectangle {
// Fallback icon
Loader {
active: fallbackIcon !== undefined && fallbackIcon !== "" && (imagePath === undefined || imagePath === "")
anchors.centerIn: parent
sourceComponent: NIcon {
anchors.centerIn: parent
icon: fallbackIcon