chore(Storybook): StatusDotsLoadingIndicator page simplified
This commit is contained in:
parent
0689a8f386
commit
47cb1810b6
|
@ -1,29 +1,24 @@
|
|||
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
|
||||
|
||||
|
||||
SplitView {
|
||||
id: root
|
||||
|
||||
SplitView {
|
||||
orientation: Qt.Vertical
|
||||
SplitView.fillWidth: true
|
||||
Item {
|
||||
ColumnLayout {
|
||||
anchors.margins: 100
|
||||
anchors.fill: parent
|
||||
anchors.centerIn: parent
|
||||
spacing: 100
|
||||
|
||||
StatusDotsLoadingIndicator {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
dotsDiameter: 5
|
||||
duration: 500
|
||||
dotsColor: "blue"
|
||||
}
|
||||
|
||||
StatusDotsLoadingIndicator {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
dotsDiameter: 15
|
||||
duration: 1000
|
||||
dotsColor: "orange"
|
||||
|
@ -31,16 +26,12 @@ SplitView {
|
|||
}
|
||||
|
||||
StatusDotsLoadingIndicator {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
dotsDiameter: 30
|
||||
duration: 1500
|
||||
dotsColor: "green"
|
||||
spacing: 30
|
||||
}
|
||||
|
||||
// filler
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue