mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 00:16:28 +08:00
Fix QML warnings for combo boxes - CURA-4758
This commit is contained in:
parent
3f7d8997a1
commit
4cec27b181
@ -77,7 +77,7 @@ SettingItem
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.right: indicator.left
|
anchors.right: downArrow.left
|
||||||
|
|
||||||
text: control.currentText
|
text: control.currentText
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
|
@ -134,7 +134,7 @@ SettingItem
|
|||||||
width: height
|
width: height
|
||||||
|
|
||||||
anchors.right: parent.right
|
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.verticalCenter: parent.verticalCenter
|
||||||
anchors.margins: UM.Theme.getSize("default_margin").width / 4
|
anchors.margins: UM.Theme.getSize("default_margin").width / 4
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ SettingItem
|
|||||||
width: height
|
width: height
|
||||||
|
|
||||||
anchors.right: parent.right
|
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.verticalCenter: parent.verticalCenter
|
||||||
anchors.margins: UM.Theme.getSize("default_margin").width / 4
|
anchors.margins: UM.Theme.getSize("default_margin").width / 4
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user