mirror of
https://gitee.com/openharmony/applications_notes
synced 2024-10-07 13:43:21 +00:00
search box padding
Signed-off-by: yanjuntao <yanjuntao@huawei.com>
This commit is contained in:
parent
3cfd1ef2ea
commit
f210fd37c8
@ -678,6 +678,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})
|
||||
.onEditChange((isEditing: boolean) => {
|
||||
this.search = isEditing
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user