// SPDX-License-Identifier: LGPL-3.0-or-later import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" HDrawer { id: mainPane saveName: "mainPane" color: theme.mainPane.background // minimumSize: bottomBar.addAccountButton.width // property alias filter: bottomBar.roomFilter readonly property bool small: width < theme.controls.avatar.size + theme.spacing * 2 Behavior on opacity { HNumberAnimation {} } Binding on visible { value: false when: ! mainUI.accountsPresent } HRowLayout { anchors.fill: parent AccountBar { id: accountBar roomContainer: roomPane Layout.fillWidth: false } RoomPane { id: roomPane currentIndex: 0 Layout.fillWidth: true Layout.fillHeight: true } } }