moment/src/qml/LoadingScreen.qml

23 lines
525 B
QML
Raw Normal View History

import QtQuick 2.12
import QtGraphicalEffects 1.12
import "Base"
Item {
LinearGradient {
anchors.fill: parent
start: Qt.point(0, 0)
end: Qt.point(window.width, window.height)
gradient: Gradient {
2019-08-30 11:06:24 +10:00
GradientStop { position: 0.0; color: "#001b20" }
GradientStop { position: 1.0; color: "#3c2f4b" }
}
}
HBusyIndicator {
anchors.centerIn: parent
width: Math.min(160, parent.width - 16, parent.height - 16)
height: width
}
}