chore(Storybook): StatusDotsLoadingIndicator page simplified

This commit is contained in:
Michał Cieślak 2023-03-10 17:22:44 +01:00 committed by Michał
parent 0689a8f386
commit 47cb1810b6
1 changed files with 25 additions and 34 deletions

View File

@ -1,46 +1,37 @@
import QtQuick 2.14
import QtQuick.Controls 2.14
import QtQuick.Layouts 1.14
import QtQuick 2.15
import QtQuick.Layouts 1.15
import StatusQ.Components 0.1
import StatusQ.Core.Theme 0.1
Item {
ColumnLayout {
anchors.centerIn: parent
spacing: 100
SplitView {
id: root
StatusDotsLoadingIndicator {
Layout.alignment: Qt.AlignHCenter
SplitView {
orientation: Qt.Vertical
SplitView.fillWidth: true
ColumnLayout {
anchors.margins: 100
anchors.fill: parent
spacing: 100
dotsDiameter: 5
duration: 500
dotsColor: "blue"
}
StatusDotsLoadingIndicator {
dotsDiameter: 5
duration: 500
dotsColor: "blue"
}
StatusDotsLoadingIndicator {
Layout.alignment: Qt.AlignHCenter
StatusDotsLoadingIndicator {
dotsDiameter: 15
duration: 1000
dotsColor: "orange"
spacing: 16
}
dotsDiameter: 15
duration: 1000
dotsColor: "orange"
spacing: 16
}
StatusDotsLoadingIndicator {
dotsDiameter: 30
duration: 1500
dotsColor: "green"
spacing: 30
}
StatusDotsLoadingIndicator {
Layout.alignment: Qt.AlignHCenter
// filler
Item {
Layout.fillHeight: true
}
dotsDiameter: 30
duration: 1500
dotsColor: "green"
spacing: 30
}
}
}