Cura/resources/qml/EmptyViewMenuComponent.qml
2021-03-29 17:55:19 +02:00

28 lines
634 B
QML

// Copyright (c) 2019 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtGraphicalEffects 1.0 // For the dropshadow
import UM 1.2 as UM
// Empty placeholder
Rectangle
{
color: UM.Theme.getColor("disabled")
DropShadow
{
id: shadow
// Don't blur the shadow
radius: 0
anchors.fill: parent
source: parent
verticalOffset: 2
visible: true
color: UM.Theme.getColor("action_button_shadow")
// Should always be drawn behind the background.
z: parent.z - 1
}
}