QmlDesigner: Align UX of ComboBox with FilterCB

* Change trigger signal for CheckIndicator
* Change edit state color for ComboBox

Change-Id: I7fa16ccc5cf33161ae3287cd64f481a675403670
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2022-05-12 15:38:13 +02:00
committed by Henning Gründl
parent 839502650c
commit d027c5855b
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ Rectangle {
id: checkIndicatorMouseArea id: checkIndicatorMouseArea
anchors.fill: parent anchors.fill: parent
hoverEnabled: true hoverEnabled: true
onPressed: { onClicked: {
if (myPopup.opened) { if (myPopup.opened) {
myPopup.close() myPopup.close()
} else { } else {

View File

@@ -276,7 +276,7 @@ T.ComboBox {
PropertyChanges { PropertyChanges {
target: comboBoxBackground target: comboBoxBackground
color: StudioTheme.Values.themeControlBackgroundInteraction color: StudioTheme.Values.themeControlBackgroundInteraction
border.color: StudioTheme.Values.themeControlOutline border.color: StudioTheme.Values.themeControlOutlineInteraction
} }
StateChangeScript { StateChangeScript {
script: comboBoxPopup.close() script: comboBoxPopup.close()