mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
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:
parent
70c32da7da
commit
64cdab12dd
1 changed files with 10 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ import QtQuick 2.12
|
||||||
import QtQuick.Controls 2.15 as QQC2
|
import QtQuick.Controls 2.15 as QQC2
|
||||||
import QtQuick.Layouts 1.1
|
import QtQuick.Layouts 1.1
|
||||||
import QtQml.Models 2.15
|
import QtQml.Models 2.15
|
||||||
|
import QtGraphicalEffects 1.12
|
||||||
|
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
import org.kde.plasma.extras 2.0 as PlasmaExtras
|
import org.kde.plasma.extras 2.0 as PlasmaExtras
|
||||||
|
|
@ -275,12 +276,20 @@ MobileShell.GridView {
|
||||||
anchors.leftMargin: root.leftMargin
|
anchors.leftMargin: root.leftMargin
|
||||||
anchors.rightMargin: root.rightMargin
|
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 {
|
Kirigami.Icon {
|
||||||
id: icon
|
id: icon
|
||||||
Layout.alignment: Qt.AlignBottom | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignBottom | Qt.AlignHCenter
|
||||||
implicitWidth: PlasmaCore.Units.iconSizes.large
|
implicitWidth: PlasmaCore.Units.iconSizes.large
|
||||||
implicitHeight: width
|
implicitHeight: width
|
||||||
source: "arrow-right-double"
|
source: "arrow-left"
|
||||||
color: "white"
|
color: "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue