From a95b99b4e73762ee9bcce7b4fa6645e6f9eeb492 Mon Sep 17 00:00:00 2001 From: guozejun Date: Thu, 12 May 2022 17:29:56 +0800 Subject: [PATCH] fix note content layout Signed-off-by: guozejun --- common/component/src/main/ets/components/NoteListComp.ets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/component/src/main/ets/components/NoteListComp.ets b/common/component/src/main/ets/components/NoteListComp.ets index 3831da2..0acb532 100644 --- a/common/component/src/main/ets/components/NoteListComp.ets +++ b/common/component/src/main/ets/components/NoteListComp.ets @@ -63,11 +63,12 @@ export struct NoteListComp { } .backgroundColor($r('app.color.notelist_bgcolor_f1f3f5')) .width('100%') - .flexGrow(1) + .flexShrink(1) Column() { OperateNoteCompForPortrait() } + .flexShrink(0) .backgroundColor($r('app.color.notelist_bgcolor_f1f3f5')) } .backgroundColor($r('app.color.notelist_bgcolor_f1f3f5'))