Start UI elements for custom command input

This commit is contained in:
ChrisTerBeke 2018-01-25 22:56:46 +01:00
parent 39218b910b
commit d7254ff8d0
No known key found for this signature in database
GPG key ID: A49F1AB9D7E0C263

View file

@ -429,6 +429,29 @@ Item
}
}
Row
{
id: customCommandInputRow
width: base.width - 2 * UM.Theme.getSize("default_margin").width
height: childrenRect.height + UM.Theme.getSize("default_margin").width
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width
spacing: UM.Theme.getSize("default_margin").width
Label
{
text: catalog.i18nc("@label", "Custom command input")
color: UM.Theme.getColor("setting_control_text")
font: UM.Theme.getFont("default")
width: Math.floor(parent.width * 0.4) - UM.Theme.getSize("default_margin").width
height: UM.Theme.getSize("setting_control").height
verticalAlignment: Text.AlignVCenter
}
}
ListModel
{
id: distancesModel