Fix QML warnings for combo boxes - CURA-4758

This commit is contained in:
ChrisTerBeke 2018-01-04 11:53:34 +01:00
parent 3f7d8997a1
commit 4cec27b181
3 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ SettingItem
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
anchors.verticalCenter: parent.verticalCenter
anchors.right: indicator.left
anchors.right: downArrow.left
text: control.currentText
font: UM.Theme.getFont("default")

View file

@ -134,7 +134,7 @@ SettingItem
width: height
anchors.right: parent.right
anchors.rightMargin: control.indicator.width + UM.Theme.getSize("setting_unit_margin").width
anchors.rightMargin: downArrow.width + UM.Theme.getSize("setting_unit_margin").width
anchors.verticalCenter: parent.verticalCenter
anchors.margins: UM.Theme.getSize("default_margin").width / 4

View file

@ -153,7 +153,7 @@ SettingItem
width: height
anchors.right: parent.right
anchors.rightMargin: control.indicator.width + UM.Theme.getSize("setting_unit_margin").width
anchors.rightMargin: downArrow.width + UM.Theme.getSize("setting_unit_margin").width
anchors.verticalCenter: parent.verticalCenter
anchors.margins: UM.Theme.getSize("default_margin").width / 4