Browse Source

Fix QML warnings for combo boxes - CURA-4758

ChrisTerBeke 7 years ago
parent
commit
4cec27b181

+ 1 - 1
resources/qml/Settings/SettingComboBox.qml

@@ -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")

+ 1 - 1
resources/qml/Settings/SettingExtruder.qml

@@ -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
 

+ 1 - 1
resources/qml/Settings/SettingOptionalExtruder.qml

@@ -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