!12153 EditableTitleBar外边距默认值修改

Merge pull request !12153 from DoubleAce/master
This commit is contained in:
openharmony_ci 2024-06-18 08:55:24 +00:00 committed by Gitee
commit 2ee8c94a43
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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