Skip to content

Commit

Permalink
chore(Storybook): StatusDotsLoadingIndicator page simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
micieslak committed Mar 21, 2023
1 parent 0689a8f commit 47cb181
Showing 1 changed file with 32 additions and 41 deletions.
73 changes: 32 additions & 41 deletions storybook/pages/StatusDotsLoadingIndicatorPage.qml
Original file line number Diff line number Diff line change
@@ -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


SplitView {
id: root

SplitView {
orientation: Qt.Vertical
SplitView.fillWidth: true
ColumnLayout {
anchors.margins: 100
anchors.fill: parent
spacing: 100

StatusDotsLoadingIndicator {
dotsDiameter: 5
duration: 500
dotsColor: "blue"
}

StatusDotsLoadingIndicator {
dotsDiameter: 15
duration: 1000
dotsColor: "orange"
spacing: 16
}

StatusDotsLoadingIndicator {
dotsDiameter: 30
duration: 1500
dotsColor: "green"
spacing: 30
}

// filler
Item {
Layout.fillHeight: true
}

Item {
ColumnLayout {
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"
spacing: 16
}

StatusDotsLoadingIndicator {
Layout.alignment: Qt.AlignHCenter

dotsDiameter: 30
duration: 1500
dotsColor: "green"
spacing: 30
}
}
}

0 comments on commit 47cb181

Please sign in to comment.