From 96c9e7aaf008240074ae928ec9b5938831379b0f Mon Sep 17 00:00:00 2001 From: zhanghang Date: Mon, 28 Apr 2025 19:14:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E7=B1=BB=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1=E6=94=AF=E6=8C=81=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E8=B5=B7=E5=A7=8B=E3=80=81=E6=9C=AB=E5=B0=BE=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhanghang --- en/native_sdk/ace/native_node.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/en/native_sdk/ace/native_node.h b/en/native_sdk/ace/native_node.h index 61c6af72..82d98456 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. -- Gitee