!236 修改搜索框字体被遮挡问题

Merge pull request !236 from nobbo/master
This commit is contained in:
openharmony_ci 2023-10-25 07:33:45 +00:00 committed by Gitee
commit e788abac1c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -794,7 +794,7 @@ export struct SearchComp {
.backgroundColor(this.longpress ? $r("app.color.search_longpress_bgcolor_f7f8f9") : $r("app.color.color_ffffff"))
.caretColor($r("app.color.search_note_caret_color"))
.enabled(this.longpress ? false : true)
.padding({ left: 6, top: 1 })
.padding({ left: 6, top: 0, bottom: 0, right: 0 })
.onEditChange((isEditing: boolean) => {
// this.search = isEditing
})