diff --git a/qml/AppUI/SearchInputBar.qml b/qml/AppUI/SearchInputBar.qml index b6a11c4..c16a8b2 100644 --- a/qml/AppUI/SearchInputBar.qml +++ b/qml/AppUI/SearchInputBar.qml @@ -79,8 +79,8 @@ UkuiItems.StyleBackground { TextInput { id: textInput clip: true - anchors.right: parent.right - width: parent.width - searchIcon.width + anchors.right: clearButton.left + width: parent.width - searchIcon.width - clearButton.width height: parent.height selectByMouse: true verticalAlignment: TextInput.AlignVCenter @@ -113,6 +113,7 @@ UkuiItems.StyleBackground { } UkuiItems.Button { + id: clearButton anchors.right: parent.right anchors.rightMargin: (parent.height - height) / 2 anchors.verticalCenter: parent.verticalCenter