CURA-4461 Add line separator when the build plate selector is visible

This commit is contained in:
Diego Prado Gesto 2018-01-16 09:23:39 +01:00
parent aace0e0317
commit a7beb142ff

View File

@ -314,6 +314,19 @@ Column
} }
} }
//Buildplate row separator
Rectangle {
id: separator
anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width
anchors.rightMargin: UM.Theme.getSize("sidebar_margin").width
anchors.horizontalCenter: parent.horizontalCenter
visible: buildplateRow.visible
width: parent.width - UM.Theme.getSize("sidebar_margin").width * 2
height: visible ? UM.Theme.getSize("sidebar_lining").height / 2 : 0
color: UM.Theme.getColor("sidebar_lining")
}
//Buildplate row //Buildplate row
Item Item
{ {