From 79a1fb705f81cf780ce2980c977ee8821ff3597f Mon Sep 17 00:00:00 2001 From: yanjuntao Date: Tue, 10 May 2022 11:12:03 +0800 Subject: [PATCH] fix function bar margins Signed-off-by: yanjuntao --- common/component/src/main/ets/components/NoteListComp.ets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/component/src/main/ets/components/NoteListComp.ets b/common/component/src/main/ets/components/NoteListComp.ets index dda8647..6f114f1 100644 --- a/common/component/src/main/ets/components/NoteListComp.ets +++ b/common/component/src/main/ets/components/NoteListComp.ets @@ -839,7 +839,7 @@ export struct OperateNoteCompForPortrait { .padding({ top: 5 }) } .backgroundColor($r('app.color.notelist_bgcolor_f1f3f5')) - .width(this.selectedFolderData.uuid == SysDefFolderUuid.RecentDeletes? "33.3%" :"25%") + .width(this.selectedFolderData.uuid == SysDefFolderUuid.RecentDeletes? 120 :"25%") .height("100%") .opacity(this.greyOpacity ? 0.4 : 1) .enabled(this.greyOpacity ? false : true) @@ -898,7 +898,7 @@ export struct OperateNoteCompForPortrait { .padding({ top: 5 }) } .backgroundColor($r('app.color.notelist_bgcolor_f1f3f5')) - .width(this.selectedFolderData.uuid == SysDefFolderUuid.RecentDeletes? "33.3%" :"25%") + .width(this.selectedFolderData.uuid == SysDefFolderUuid.RecentDeletes? 120 :"25%") .height("100%") .opacity(this.greyOpacity ? 0.4 : 1) .enabled(this.greyOpacity ? false : true) @@ -927,7 +927,7 @@ export struct OperateNoteCompForPortrait { .padding({ top: 5 }) } .backgroundColor($r('app.color.notelist_bgcolor_f1f3f5')) - .width(this.selectedFolderData.uuid == SysDefFolderUuid.RecentDeletes? "33.3%" :"25%") + .width(this.selectedFolderData.uuid == SysDefFolderUuid.RecentDeletes? 120 :"25%") .height("100%") .alignItems(HorizontalAlign.Center) .justifyContent(FlexAlign.Center)