修改默认值

Signed-off-by: zhanghuiyu <zhanghuiyu9@huawei.com>
This commit is contained in:
zhanghuiyu 2024-06-17 21:21:50 +08:00
parent d2a0236af2
commit 41825e53da

View File

@ -317,12 +317,8 @@ export declare struct EditableTitleBar {
/**
* Sets the content margin.
* @type { ?LocalizedMargin }
* @default set different default values according to the width of the title bar:
* <br> When the title bar width is <600vp,
* <br> the default value is {start: LengthMetrics.vp(16), end: LengthMetrics.vp(16)};
* <br> When the title bar width is >=600vp and <840vp,
* <br> the default value is {start: LengthMetrics.vp(24), end: LengthMetrics.vp(24)};
* <br> Otherwise, the default value is {start: LengthMetrics.vp(32), end: LengthMetrics.vp(32)}.
* @default {start: LengthMetrics.resource($r('sys.float.margin_left')),
* <br> end: LengthMetrics.resource($r('sys.float.margin_right'))}
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12