diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomComboBoxStyle.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomComboBoxStyle.qml index 97d10c2c789..c335153de22 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomComboBoxStyle.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomComboBoxStyle.qml @@ -33,6 +33,8 @@ ComboBoxStyle { } + padding.left: 20 + background: Item { implicitWidth: 120 implicitHeight: 24 @@ -65,17 +67,13 @@ ComboBoxStyle { } } - label: Item { - implicitWidth: textitem.implicitWidth + 20 - Text { - id: textitem - anchors.left: parent.left - anchors.leftMargin: 14 - anchors.verticalCenter: parent.verticalCenter - text: control.currentText - renderType: Text.NativeRendering - color: control.textColor - } + label: Text { + id: textitem + anchors.left: parent.left + anchors.verticalCenter: parent.verticalCenter + text: control.currentText + renderType: Text.NativeRendering + color: control.textColor } __dropDownStyle: MenuStyle { diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/UrlChooser.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/UrlChooser.qml index 74320b4dbbc..c0e10a1ee4c 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/UrlChooser.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/UrlChooser.qml @@ -52,6 +52,13 @@ RowLayout { Controls.ComboBox { id: comboBox + ExtendedFunctionButton { + x: 2 + anchors.verticalCenter: parent.verticalCenter + backendValue: urlChooser.backendValue + visible: comboBox.enabled + } + property bool isComplete: false function setCurrentText(text) {