mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 18:49:01 +08:00
Add seperator lines for the stageMenu's
CURA-5785
This commit is contained in:
parent
551bc2fbd4
commit
a9fdd455eb
@ -69,11 +69,27 @@ Item
|
|||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Separator line
|
||||||
|
Rectangle
|
||||||
|
{
|
||||||
|
height: parent.height
|
||||||
|
width: UM.Theme.getSize("default_lining").width
|
||||||
|
color: UM.Theme.getColor("lining")
|
||||||
|
}
|
||||||
|
|
||||||
Cura.QuickConfigurationSelector
|
Cura.QuickConfigurationSelector
|
||||||
{
|
{
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: 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
|
Cura.PrintSetupSelector
|
||||||
|
@ -40,7 +40,7 @@ Item
|
|||||||
Row
|
Row
|
||||||
{
|
{
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
spacing: UM.Theme.getSize("default_margin").width
|
//spacing: UM.Theme.getSize("default_margin").width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
|
||||||
Item
|
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
|
Loader
|
||||||
{
|
{
|
||||||
// TODO: Make this panel collapsable and ensure it has a standardised background.
|
// 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 : ""
|
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
|
Cura.PrintSetupSelector
|
||||||
{
|
{
|
||||||
width: UM.Theme.getSize("print_setup_widget").width
|
width: UM.Theme.getSize("print_setup_widget").width
|
||||||
|
Loading…
x
Reference in New Issue
Block a user