fix warning icon not showing correctly in SDDM theme

This commit is contained in:
wackyideas 2024-02-18 02:42:05 +01:00
parent b25dc19c0e
commit ebc77c0fde
6 changed files with 9 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View file

@ -592,10 +592,14 @@ Item
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.topMargin: 2 anchors.topMargin: 2
visible: keystateSource.data["Caps Lock"]["Locked"] && password.visible visible: keystateSource.data["Caps Lock"]["Locked"] && password.visible
Kirigami.Icon { Image {
source: "dialog-warning" id: iconSmall
implicitHeight: 16 width: PlasmaCore.Units.iconSizes.small;
implicitWidth: 16 height: PlasmaCore.Units.iconSizes.small;
source: "./Assets/dialog-warning.png"
sourceSize.width: iconSmall.width
sourceSize.height: iconSmall.height
} }
QQC2.Label { QQC2.Label {
id: notificationsLabel id: notificationsLabel

View file

@ -1,2 +1,3 @@
[General] [General]
background=Wallpaper1.jpg background=Wallpaper1.jpg
icontheme=windowsicon