Cura/plugins/Toolbox/resources/qml/ToolboxDetailList.qml
2018-04-24 16:59:23 +02:00

36 lines
924 B
QML

// Copyright (c) 2018 Ultimaker B.V.
// Toolbox is released under the terms of the LGPLv3 or higher.
import QtQuick 2.2
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import UM 1.1 as UM
Rectangle
{
id: detailList
// color: "green"
ScrollView
{
frameVisible: false
anchors.fill: detailList
style: UM.Theme.styles.scrollview
Column
{
anchors
{
right: detailList.right
topMargin: UM.Theme.getSize("wide_margin").height
bottomMargin: UM.Theme.getSize("wide_margin").height
top: parent.top
}
height: childrenRect.height
spacing: UM.Theme.getSize("default_margin").height
Repeater
{
model: toolbox.packagesModel
delegate: ToolboxDetailTile {}
}
}
}
}