moment/src/qml/SidePane/SidePane.qml

33 lines
693 B
QML
Raw Normal View History

import QtQuick 2.7
import QtQuick.Layouts 1.3
import "../Base"
HRectangle {
id: sidePane
2019-04-29 01:01:38 +10:00
property int normalSpacing: 8
property bool collapsed: false
HColumnLayout {
anchors.fill: parent
AccountList {
Layout.fillWidth: true
Layout.fillHeight: true
spacing: collapsed ? 0 : normalSpacing * 3
2019-07-06 06:55:25 +10:00
topMargin: collapsed ? 0 : normalSpacing
bottomMargin: topMargin
Layout.leftMargin: topMargin
Behavior on spacing {
2019-05-15 05:15:10 +10:00
NumberAnimation { duration: HStyle.animationDuration }
}
}
PaneToolBar {
id: paneToolBar
}
}
}