Socialify

Folder ..

Viewing Root.qml
28 lines (23 loc) • 719.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import QtQuick 2.0
import QtQuick.Layouts 1.1

Item {
    property Component panel: Component {
        ColumnLayout {
            anchors.fill: parent

            Loader {
                Layout.fillWidth: true
                Layout.fillHeight: true
                Layout.minimumHeight: 300;

                sourceComponent: notifications.panel

            }

            Loader {
                Layout.fillWidth: true
                Layout.fillHeight: true
                Layout.minimumHeight: 100
                Layout.maximumHeight: parent.height * 2/5
                // Layout.maximumHeight: item.implicitHeight
                sourceComponent: devices.fullRepresentation
            }
        }
    }
}