mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Add global profile selector to the custom print setup panel
Also modify some styles to adjust to the designs. Contributes to CURA-5941.
This commit is contained in:
parent
7dc3320b06
commit
90281c455b
8 changed files with 71 additions and 31 deletions
|
@ -4,6 +4,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
import UM 1.3 as UM
|
||||
import Cura 1.0 as Cura
|
||||
|
||||
|
||||
|
@ -14,8 +15,34 @@ Item
|
|||
// TODO: Hardcoded now but UX has to decide about the height of this item
|
||||
height: 500
|
||||
|
||||
property real padding: UM.Theme.getSize("default_margin").width
|
||||
|
||||
// Profile selector row
|
||||
GlobalProfileSelector
|
||||
{
|
||||
id: globalProfileRow
|
||||
anchors
|
||||
{
|
||||
top: parent.top
|
||||
topMargin: parent.padding
|
||||
left: parent.left
|
||||
leftMargin: parent.padding
|
||||
right: parent.right
|
||||
rightMargin: parent.padding
|
||||
}
|
||||
}
|
||||
|
||||
Cura.SettingView
|
||||
{
|
||||
anchors.fill: parent
|
||||
anchors
|
||||
{
|
||||
top: globalProfileRow.bottom
|
||||
topMargin: UM.Theme.getSize("default_margin").height
|
||||
left: parent.left
|
||||
leftMargin: parent.padding
|
||||
right: parent.right
|
||||
rightMargin: parent.padding
|
||||
bottom: parent.bottom
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue