diff --git a/permissionmanager/src/main/ets/common/utils/constant.ets b/permissionmanager/src/main/ets/common/utils/constant.ets index 2ae88c22a3b8339454902556ec93519f12e86695..0f8f7d2f1c9a9b595769ca8a35bf11564f69934c 100644 --- a/permissionmanager/src/main/ets/common/utils/constant.ets +++ b/permissionmanager/src/main/ets/common/utils/constant.ets @@ -302,6 +302,7 @@ export default class Constants { static DIALOG_REQ_FONT_SIZE = 16; static DIALOG_REQ_MARGIN_TOP = 16; static DIALOG_REQ_MARGIN_LEFT = 24; + static DIALOG_REQ_MARGIN_RIGHT = 24; static DIALOG_REQ_LINE_HEIGHT = 22; // description text of dialog diff --git a/permissionmanager/src/main/ets/pages/dialogPlus.ets b/permissionmanager/src/main/ets/pages/dialogPlus.ets index 5aef9dff3fc336b248d2fca8ce4dcf7dc0efa650..2904b7e5849ab7e4b178df153ff747ae77d4617c 100644 --- a/permissionmanager/src/main/ets/pages/dialogPlus.ets +++ b/permissionmanager/src/main/ets/pages/dialogPlus.ets @@ -96,7 +96,8 @@ struct PermissionDialog { .lineHeight(Constants.DIALOG_REQ_LINE_HEIGHT) .margin({ top: Constants.DIALOG_REQ_MARGIN_TOP, - left: Constants.DIALOG_REQ_MARGIN_LEFT + left: Constants.DIALOG_REQ_MARGIN_LEFT, + right: Constants.DIALOG_REQ_MARGIN_RIGHT }) } }