import QtQuick 2.12 import QtQuick.Controls 2.0 as QQC2 Item { Row { anchors.fill: parent; AppPage { width: 300 height: parent.height; } Sidebar { width: parent.width - 300; height: parent.height; } } }