2019-07-08 13:52:41 +10:00
|
|
|
// Copyright 2019 miruka
|
|
|
|
// This file is part of harmonyqml, licensed under LGPLv3.
|
|
|
|
|
2019-05-13 03:17:42 +10:00
|
|
|
import QtQuick 2.7
|
|
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import "../../Base"
|
|
|
|
|
|
|
|
HRectangle {
|
|
|
|
id: roomSidePane
|
|
|
|
|
2019-05-13 08:59:29 +10:00
|
|
|
property bool collapsed: false
|
2019-05-14 02:01:57 +10:00
|
|
|
property var activeView: null
|
2019-05-13 08:59:29 +10:00
|
|
|
|
2019-07-13 08:15:06 +10:00
|
|
|
property int normalSpacing: 8
|
2019-07-13 08:17:02 +10:00
|
|
|
property int currentSpacing: collapsed ? 0 : normalSpacing
|
2019-07-13 08:15:06 +10:00
|
|
|
|
2019-07-13 08:17:02 +10:00
|
|
|
Behavior on currentSpacing { HNumberAnimation {} }
|
2019-07-13 08:15:06 +10:00
|
|
|
|
2019-05-18 05:18:46 +10:00
|
|
|
MembersView {
|
2019-05-13 03:17:42 +10:00
|
|
|
anchors.fill: parent
|
|
|
|
}
|
|
|
|
}
|