From 030cdf58d7942edca34cb498297b04fade3c0e3b Mon Sep 17 00:00:00 2001 From: "konstantin.kukharenko" <konstantin.kukharenko@demlabs.net> Date: Thu, 23 Jan 2020 23:42:31 +0300 Subject: [PATCH] [*]delete id contentItem --- widgets/DapComboBoxForm.ui.qml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/widgets/DapComboBoxForm.ui.qml b/widgets/DapComboBoxForm.ui.qml index 19cb3a1..ae7a2fe 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 -- GitLab