From 3ed720b0db66058bcd7a2397b21dea7486560b7f Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Thu, 18 Oct 2018 11:13:47 -0300 Subject: [PATCH] QGCComboBox: change style so it matches with QGCTextField --- src/QmlControls/QGCComboBox.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/QmlControls/QGCComboBox.qml b/src/QmlControls/QGCComboBox.qml index a39c05b3d..321df94ec 100644 --- a/src/QmlControls/QGCComboBox.qml +++ b/src/QmlControls/QGCComboBox.qml @@ -40,9 +40,9 @@ Button { background: Rectangle { implicitWidth: ScreenTools.implicitComboBoxWidth implicitHeight: ScreenTools.implicitComboBoxHeight - color: control._qgcPal.button - border.width: control._showBorder ? 1: 0 - border.color: control._qgcPal.buttonText + color: control._qgcPal.textField + border.width: enabled ? 1 : 0 + border.color: "#999" QGCColoredImage { id: image @@ -52,7 +52,7 @@ Button { anchors.rightMargin: _dropImageMargin anchors.right: parent.right source: "/qmlimages/arrow-down.png" - color: control._qgcPal.buttonText + color: control._qgcPal.textFieldText } } @@ -67,7 +67,7 @@ Button { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: centeredLabel ? parent.horizontalCenter : undefined text: control.currentText - color: control._qgcPal.buttonText + color: control._qgcPal.textFieldText font.pointSize: pointSize } } -- 2.22.0