From c9770bed60d30a80fbe56ef5ee5e61d00d060e16 Mon Sep 17 00:00:00 2001 From: yanjuntao Date: Wed, 11 May 2022 10:49:06 +0800 Subject: [PATCH] search box padding Signed-off-by: yanjuntao --- common/component/src/main/ets/components/NoteListComp.ets | 1 + 1 file changed, 1 insertion(+) diff --git a/common/component/src/main/ets/components/NoteListComp.ets b/common/component/src/main/ets/components/NoteListComp.ets index 1626b4e..a25cf4e 100644 --- a/common/component/src/main/ets/components/NoteListComp.ets +++ b/common/component/src/main/ets/components/NoteListComp.ets @@ -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 })