Fix warnings caused by combobox

Parent wasn't always set, which caused ocasional warnings
This commit is contained in:
Jaime van Kessel 2022-03-10 11:34:11 +01:00
parent 01ecc799fa
commit 84a0c732c1

View file

@ -57,9 +57,7 @@ ComboBox
contentItem: UM.Label
{
id: contentLabel
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
anchors.verticalCenter: parent.verticalCenter
leftPadding: UM.Theme.getSize("setting_unit_margin").width + UM.Theme.getSize("default_margin").width
anchors.right: downArrow.left
wrapMode: Text.NoWrap
text: