Panel支持配置高度自适应,修改枚举值

Signed-off-by: zhangjiayong1 <zhangjiayong3@huawei.com>
This commit is contained in:
zhangjiayong1 2023-08-07 02:16:24 +00:00
parent 2d4694c3ca
commit b3e32db559
2 changed files with 6 additions and 3 deletions

View File

@ -152,19 +152,21 @@ declare enum PanelType {
/**
* Enum for custom content display area.
* @enum number
*
* @enum { string }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
declare enum PanelHeight {
/**
* The Panel adapt to the content height.
* The Panel adapts to the content height.
*
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
WRAP_CONTENT = 0,
WRAP_CONTENT = 'wrapContent',
}
/**

View File

@ -866,3 +866,4 @@ unadjustable
unprepare
unchained
sar
adapts