chore(Storybook): StatusDotsLoadingIndicator page simplified
This commit is contained in:
parent
0689a8f386
commit
47cb1810b6
|
@ -1,46 +1,37 @@
|
||||||
import QtQuick 2.14
|
import QtQuick 2.15
|
||||||
import QtQuick.Controls 2.14
|
import QtQuick.Layouts 1.15
|
||||||
import QtQuick.Layouts 1.14
|
|
||||||
|
|
||||||
import StatusQ.Components 0.1
|
import StatusQ.Components 0.1
|
||||||
import StatusQ.Core.Theme 0.1
|
|
||||||
|
|
||||||
|
Item {
|
||||||
|
ColumnLayout {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
spacing: 100
|
||||||
|
|
||||||
SplitView {
|
StatusDotsLoadingIndicator {
|
||||||
id: root
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
SplitView {
|
dotsDiameter: 5
|
||||||
orientation: Qt.Vertical
|
duration: 500
|
||||||
SplitView.fillWidth: true
|
dotsColor: "blue"
|
||||||
ColumnLayout {
|
}
|
||||||
anchors.margins: 100
|
|
||||||
anchors.fill: parent
|
|
||||||
spacing: 100
|
|
||||||
|
|
||||||
StatusDotsLoadingIndicator {
|
StatusDotsLoadingIndicator {
|
||||||
dotsDiameter: 5
|
Layout.alignment: Qt.AlignHCenter
|
||||||
duration: 500
|
|
||||||
dotsColor: "blue"
|
|
||||||
}
|
|
||||||
|
|
||||||
StatusDotsLoadingIndicator {
|
dotsDiameter: 15
|
||||||
dotsDiameter: 15
|
duration: 1000
|
||||||
duration: 1000
|
dotsColor: "orange"
|
||||||
dotsColor: "orange"
|
spacing: 16
|
||||||
spacing: 16
|
}
|
||||||
}
|
|
||||||
|
|
||||||
StatusDotsLoadingIndicator {
|
StatusDotsLoadingIndicator {
|
||||||
dotsDiameter: 30
|
Layout.alignment: Qt.AlignHCenter
|
||||||
duration: 1500
|
|
||||||
dotsColor: "green"
|
|
||||||
spacing: 30
|
|
||||||
}
|
|
||||||
|
|
||||||
// filler
|
dotsDiameter: 30
|
||||||
Item {
|
duration: 1500
|
||||||
Layout.fillHeight: true
|
dotsColor: "green"
|
||||||
}
|
spacing: 30
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue