From 84a0c732c1fa08f5dafcf4c27044da2d10b748f5 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 10 Mar 2022 11:34:11 +0100 Subject: [PATCH] Fix warnings caused by combobox Parent wasn't always set, which caused ocasional warnings --- resources/qml/Widgets/ComboBox.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/qml/Widgets/ComboBox.qml b/resources/qml/Widgets/ComboBox.qml index 5d31348597..698eb4ec10 100644 --- a/resources/qml/Widgets/ComboBox.qml +++ b/resources/qml/Widgets/ComboBox.qml @@ -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: