moment/src/gui/Base/HBox.qml

25 lines
609 B
QML
Raw Normal View History

2019-12-19 22:46:16 +11:00
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
HFlickableColumnPage {
implicitWidth: Math.min(parent.width, theme.controls.box.defaultWidth)
implicitHeight: Math.min(parent.height, flickable.contentHeight)
background: Rectangle {
color: theme.controls.box.background
radius: theme.controls.box.radius
}
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
overshoot: 3
}
Behavior on implicitWidth { HNumberAnimation {} }
Behavior on implicitHeight { HNumberAnimation {} }
}