homescreen/halcyon: Fix direction of arrow and add drop shadow to placeholder message

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/235
This commit is contained in:
Devin Lin 2023-02-08 08:28:35 -08:00
parent 70c32da7da
commit 64cdab12dd

View file

@ -5,6 +5,7 @@ import QtQuick 2.12
import QtQuick.Controls 2.15 as QQC2
import QtQuick.Layouts 1.1
import QtQml.Models 2.15
import QtGraphicalEffects 1.12
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras
@ -275,12 +276,20 @@ MobileShell.GridView {
anchors.leftMargin: root.leftMargin
anchors.rightMargin: root.rightMargin
layer.enabled: true
layer.effect: DropShadow {
verticalOffset: 1
radius: 4
samples: 6
color: Qt.rgba(0, 0, 0, 0.5)
}
Kirigami.Icon {
id: icon
Layout.alignment: Qt.AlignBottom | Qt.AlignHCenter
implicitWidth: PlasmaCore.Units.iconSizes.large
implicitHeight: width
source: "arrow-right-double"
source: "arrow-left"
color: "white"
}