mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-27 12:51:07 -07:00
Improved structure and enabled display by author
This commit is contained in:
parent
dc00156410
commit
91001455ad
9 changed files with 310 additions and 91 deletions
36
plugins/Toolbox/resources/qml/ToolboxDetailList.qml
Normal file
36
plugins/Toolbox/resources/qml/ToolboxDetailList.qml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
// Copyright (c) 2018 Ultimaker B.V.
|
||||
// PluginBrowser is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.2
|
||||
import QtQuick.Dialogs 1.1
|
||||
import QtQuick.Controls 1.4
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import UM 1.1 as UM
|
||||
|
||||
Item
|
||||
{
|
||||
id: base
|
||||
anchors
|
||||
{
|
||||
topMargin: UM.Theme.getSize("default_margin").height
|
||||
bottomMargin: UM.Theme.getSize("default_margin").height
|
||||
leftMargin: UM.Theme.getSize("double_margin").width
|
||||
rightMargin: UM.Theme.getSize("double_margin").width
|
||||
}
|
||||
ScrollView
|
||||
{
|
||||
frameVisible: false
|
||||
anchors.fill: base
|
||||
style: UM.Theme.styles.scrollview
|
||||
Column
|
||||
{
|
||||
height: childrenRect.height
|
||||
spacing: UM.Theme.getSize("default_margin").height
|
||||
Repeater
|
||||
{
|
||||
model: manager.packagesModel
|
||||
delegate: ToolboxDetailTile {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue