From 2e87ea4c05dd9d57ad1af8cc1b2a1def2a8e2bad Mon Sep 17 00:00:00 2001 From: Andrey Daragan <tl1989@gmail.com> Date: Tue, 17 Dec 2019 11:50:27 +0300 Subject: [PATCH] [-] Unnecessary file deleted. --- DapComboBoxDelegate.qml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 DapComboBoxDelegate.qml diff --git a/DapComboBoxDelegate.qml b/DapComboBoxDelegate.qml deleted file mode 100644 index 55db1e5..0000000 --- a/DapComboBoxDelegate.qml +++ /dev/null @@ -1,31 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.5 - -ItemDelegate { - property string delegateContentText: "" - width: parent.width - height:{ - if(index == currentIndex) return 0 - else return 42*pt - } - contentItem: Text { - id:textDelegateComboBox - anchors.fill: parent - anchors.topMargin: 8 * pt - anchors.leftMargin: popup.visible ? sidePaddingActive : sidePaddingNormal - verticalAlignment: Qt.AlignTop - font.family: fontRobotoRegular.name - font.pixelSize: fontSizeComboBox - text: {if(index != currentIndex) return delegateContentText;} - color: hovered ? hilightColorText : normalColorText - } - - background: Rectangle { - anchors.fill: parent - anchors.bottomMargin: 10 * pt - color: hovered ? hilightColor : normalColor - } - - highlighted: parent.highlightedIndex === index - -} -- GitLab