mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-02-17 07:29:22 +00:00
!12153 EditableTitleBar外边距默认值修改
Merge pull request !12153 from DoubleAce/master
This commit is contained in:
commit
2ee8c94a43
@ -317,12 +317,8 @@ export declare struct EditableTitleBar {
|
|||||||
/**
|
/**
|
||||||
* Sets the content margin.
|
* Sets the content margin.
|
||||||
* @type { ?LocalizedMargin }
|
* @type { ?LocalizedMargin }
|
||||||
* @default set different default values according to the width of the title bar:
|
* @default {start: LengthMetrics.resource($r('sys.float.margin_left')),
|
||||||
* <br> When the title bar width is <600vp,
|
* <br> end: LengthMetrics.resource($r('sys.float.margin_right'))}
|
||||||
* <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)}.
|
|
||||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @since 12
|
* @since 12
|
||||||
|
Loading…
x
Reference in New Issue
Block a user