fix(AppUI):修改搜索框输入内容与左侧图标距离过近的bug

This commit is contained in:
an-yongtai 2024-10-22 16:50:37 +08:00 committed by youdiansaodongxi
parent e0347b8447
commit 2b01c2ebe5
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ UkuiItems.StyleBackground {
id: textInput
clip: true
anchors.right: clearButton.left
width: parent.width - searchIcon.width - clearButton.width
width: parent.width - searchIcon.width - clearButton.width -
searchIcon.anchors.leftMargin - clearButton.anchors.rightMargin
height: parent.height
selectByMouse: true
verticalAlignment: TextInput.AlignVCenter