Add seperator lines for the stageMenu's

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-13 16:47:39 +01:00
parent 551bc2fbd4
commit a9fdd455eb
2 changed files with 33 additions and 2 deletions

View file

@ -69,11 +69,27 @@ Item
Layout.fillHeight: true
}
// Separator line
Rectangle
{
height: parent.height
width: UM.Theme.getSize("default_lining").width
color: UM.Theme.getColor("lining")
}
Cura.QuickConfigurationSelector
{
Layout.fillHeight: true
Layout.fillWidth: true
Layout.preferredWidth: itemRow.width - machineSelection.width - printSetupSelector.width
Layout.preferredWidth: itemRow.width - machineSelection.width - printSetupSelector.width - 2 * UM.Theme.getSize("default_lining").width
}
// Separator line
Rectangle
{
height: parent.height
width: UM.Theme.getSize("default_lining").width
color: UM.Theme.getColor("lining")
}
Cura.PrintSetupSelector

View file

@ -40,7 +40,7 @@ Item
Row
{
anchors.centerIn: parent
spacing: UM.Theme.getSize("default_margin").width
//spacing: UM.Theme.getSize("default_margin").width
height: parent.height
Item
@ -93,6 +93,14 @@ Item
}
}
// Separator line
Rectangle
{
height: parent.height
width: UM.Theme.getSize("default_lining").width
color: UM.Theme.getColor("lining")
}
Loader
{
// TODO: Make this panel collapsable and ensure it has a standardised background.
@ -106,6 +114,13 @@ Item
source: UM.Controller.activeView != null && UM.Controller.activeView.stageMenuComponent != null ? UM.Controller.activeView.stageMenuComponent : ""
}
// Separator line
Rectangle
{
height: parent.height
width: UM.Theme.getSize("default_lining").width
color: UM.Theme.getColor("lining")
}
Cura.PrintSetupSelector
{
width: UM.Theme.getSize("print_setup_widget").width