diff --git a/src/controls/SearchField.qml b/src/controls/SearchField.qml index 2adf7e7eb776a3b8c8304da7e79b529c2ca2d6b9..ea40635f7e933a57f035665ec109cd2b9537cd24 100644 --- a/src/controls/SearchField.qml +++ b/src/controls/SearchField.qml @@ -72,10 +72,11 @@ Kirigami.ActionTextField opacity: parent.activeFocus || text.length > 0 ? 0 : 1 anchors.left: parent.left anchors.leftMargin: Kirigami.Units.smallSpacing * 2 - anchors.verticalCenter: parent.verticalCenter + anchors.bottom: parent.bottom + anchors.bottomMargin: Math.round((parent.implicitHeight - implicitHeight) / 2 + (parent.bottomPadding - parent.topPadding) / 2) implicitHeight: Kirigami.Units.iconSizes.sizeForLabels implicitWidth: Kirigami.Units.iconSizes.sizeForLabels - color: Kirigami.Theme.disabledTextColor + color: root.placeholderTextColor source: "search"