mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +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.
|
||||
* @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