import QtQuick 2.2 import FlightGear.Launcher 1.0 as FG import "." Item { id: root height: visible ? contentBox.height + (Style.margin * 2) : 0 z: 100 property alias contents: contentBox.children Rectangle { id: contentBox width: parent.width height: Style.strutSize y: Style.margin color: "white" border.width: 1 border.color: Style.minorFrameColor } }