diff --git a/en/native_sdk/ace/native_node.h b/en/native_sdk/ace/native_node.h index 61c6af7272654f0a437a0d17af3483a6936d9f94..82d98456622ea0d85241b562f88c165472ed934b 100644 --- a/en/native_sdk/ace/native_node.h +++ b/en/native_sdk/ace/native_node.h @@ -5087,6 +5087,22 @@ typedef enum { */ NODE_SCROLL_CLIP_CONTENT, + /** + * @brief Defines the margin of the scrollbar. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: start margin of the scrollbar, in vp. The default value is 0. \n + * .value[1].f32: end margin of the scrollbar, in vp. The default value is 0. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: start margin of the scrollbar, in vp. \n + * .value[1].f32: end margin of the scrollbar, in vp. \n + * + * @since 20 + */ + NODE_SCROLL_BAR_MARGIN = 1002022, + /** * @brief Defines the direction in which the list items are arranged. This attribute can be set, reset, and obtained * as required through APIs.