summaryrefslogtreecommitdiff
path: root/widgets/Box.qml
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/Box.qml')
-rw-r--r--widgets/Box.qml30
1 files changed, 0 insertions, 30 deletions
diff --git a/widgets/Box.qml b/widgets/Box.qml
deleted file mode 100644
index 9c786c7..0000000
--- a/widgets/Box.qml
+++ /dev/null
@@ -1,30 +0,0 @@
-import "root:/config"
-import QtQuick
-
-Grid {
- property bool vertical: parent.vertical ?? false // Propagate from parent
-
- flow: vertical ? Grid.TopToBottom : Grid.LeftToRight
- spacing: Appearance.spacing.small
-
- onVerticalChanged: {
- if (vertical) {
- rows = -1;
- columns = 1;
- } else {
- columns = -1;
- rows = 1;
- }
- }
-
- add: Transition {
- NumberAnimation {
- properties: "scale"
- from: 0
- to: 1
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standardDecel
- }
- }
-}