CURA-4380 code improvements for build plate adhesion label

This commit is contained in:
ChrisTerBeke 2017-09-27 14:51:20 +02:00
parent a8ce7185cc
commit c1cfb76f8a

View File

@ -726,15 +726,19 @@ Item
{ {
id: adhesionHelperLabel id: adhesionHelperLabel
visible: adhesionCheckBox.visible visible: adhesionCheckBox.visible
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width text: catalog.i18nc("@label", "Build Plate Adhesion")
anchors.right: infillCellLeft.right font: UM.Theme.getFont("default")
anchors.rightMargin: UM.Theme.getSize("sidebar_margin").width color: UM.Theme.getColor("text")
anchors.verticalCenter: adhesionCheckBox.verticalCenter
text: catalog.i18nc("@label", "Build Plate Adhesion");
font: UM.Theme.getFont("default");
color: UM.Theme.getColor("text");
elide: Text.ElideRight elide: Text.ElideRight
anchors {
left: parent.left
leftMargin: UM.Theme.getSize("sidebar_margin").width
right: infillCellLeft.right
rightMargin: UM.Theme.getSize("sidebar_margin").width
verticalCenter: adhesionCheckBox.verticalCenter
}
} }
CheckBox CheckBox