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

This commit is contained in:
an-yongtai 2024-10-22 16:50:37 +08:00 committed by iaom
parent bb6861fd2f
commit df9a2c1820
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