diff --git a/widgets/DapComboBoxForm.ui.qml b/widgets/DapComboBoxForm.ui.qml index 19cb3a1139994f6ab6a40670932e06a0befb4804..ae7a2feccab5753c00dc19628fd8a02f84a4fc29 100644 --- a/widgets/DapComboBoxForm.ui.qml +++ b/widgets/DapComboBoxForm.ui.qml @@ -81,8 +81,8 @@ ComboBox } //Defining the background for the main line - background: - Rectangle + background: + Rectangle { anchors.fill: parent color: parent.popup.visible ? hilightTopColor : normalTopColor @@ -91,10 +91,9 @@ ComboBox } //Main line text settings - contentItem: - Text + contentItem: + Text { - id:textTopComboBox anchors.fill: parent anchors.leftMargin: popup.visible ? sidePaddingActive : sidePaddingNormal text: mainLineText @@ -142,7 +141,7 @@ ComboBox } //Shadow effect for the top element. - DropShadow + DropShadow { anchors.fill: if (topEffect) parent