mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
修改默认值
Signed-off-by: zhanghuiyu <zhanghuiyu9@huawei.com>
This commit is contained in:
parent
d2a0236af2
commit
41825e53da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user