moment/src/qml/LoadingScreen.qml

23 lines
536 B
QML
Raw Normal View History

import QtQuick 2.12
import "Base"
Item {
Rectangle {
anchors.fill: parent
scale: Math.max(
2019-08-30 11:06:24 +10:00
2.25, Math.ceil(parent.parent.width / parent.parent.height)
)
2019-08-30 11:06:24 +10:00
rotation: -45
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
}
}