From c80a535497dc194d61b7ff018dc1c4adba7425b8 Mon Sep 17 00:00:00 2001 From: zhanghang Date: Mon, 19 May 2025 09:35:57 +0800 Subject: [PATCH] scrollBarMargin c infterface Signed-off-by: zhanghang Change-Id: Iebec39d03688ecb630b758e93700cb9716c6178c --- arkui/ace_engine/native/native_node.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 5ca0fdeea..523dcc07f 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -5200,6 +5200,22 @@ typedef enum { */ NODE_SCROLL_BACK_TO_TOP = 1002021, + /** + * @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. -- Gitee