2020-09-24 09:57:54 +10:00
|
|
|
// Copyright Mirage authors & contributors <https://github.com/mirukana/mirage>
|
2019-12-19 22:46:16 +11:00
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
|
2019-07-13 19:39:01 +10:00
|
|
|
import QtQuick 2.12
|
|
|
|
import QtQuick.Layouts 1.12
|
2019-04-28 08:00:28 +10:00
|
|
|
|
2020-08-19 14:17:24 +10:00
|
|
|
HColumnPage {
|
2020-06-25 22:32:08 +10:00
|
|
|
implicitWidth: Math.min(parent.width, theme.controls.box.defaultWidth)
|
2020-08-19 14:17:24 +10:00
|
|
|
padding: theme.spacing
|
2019-08-18 03:01:43 +10:00
|
|
|
|
2020-06-25 22:32:08 +10:00
|
|
|
background: Rectangle {
|
|
|
|
color: theme.controls.box.background
|
|
|
|
radius: theme.controls.box.radius
|
2019-04-28 08:00:28 +10:00
|
|
|
}
|
|
|
|
|
2019-12-16 19:42:41 +11:00
|
|
|
HNumberAnimation on scale {
|
2019-11-23 01:35:53 +11:00
|
|
|
running: true
|
|
|
|
from: 0
|
|
|
|
to: 1
|
2020-07-19 14:37:26 +10:00
|
|
|
overshoot: 2
|
2019-11-23 01:35:53 +11:00
|
|
|
}
|
|
|
|
|
2020-06-25 22:32:08 +10:00
|
|
|
Behavior on implicitWidth { HNumberAnimation {} }
|
|
|
|
Behavior on implicitHeight { HNumberAnimation {} }
|
2019-04-28 08:00:28 +10:00
|
|
|
}
|