From 0ef6065399b9ca010cf275c5b2bf58579b9b1b35 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Tue, 7 Oct 2025 00:20:54 +0200 Subject: [PATCH] Property docs fix --- src/elements/TabControl.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/elements/TabControl.lua b/src/elements/TabControl.lua index 92486ec..c2fe2fb 100644 --- a/src/elements/TabControl.lua +++ b/src/elements/TabControl.lua @@ -25,9 +25,9 @@ TabControl.defineProperty(TabControl, "headerBackground", {default = colors.gray TabControl.defineProperty(TabControl, "activeTabBackground", {default = colors.white, type = "color", canTriggerRender = true}) ---@property activeTabTextColor color Foreground color for the active tab text TabControl.defineProperty(TabControl, "activeTabTextColor", {default = colors.black, type = "color", canTriggerRender = true}) ----@property scrollableTab boolean Enables scroll mode for tabs if they exceed width +---@property scrollableTab boolean false Enables scroll mode for tabs if they exceed width TabControl.defineProperty(TabControl, "scrollableTab", {default = false, type = "boolean", canTriggerRender = true}) ----@property tabScrollOffset number Current scroll offset for tabs in scrollable mode +---@property tabScrollOffset number 0 Current scroll offset for tabs in scrollable mode TabControl.defineProperty(TabControl, "tabScrollOffset", {default = 0, type = "number", canTriggerRender = true}) TabControl.defineEvent(TabControl, "mouse_click")