summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2022-02-03 02:45:31 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2022-03-09 01:48:18 -0300
commit182e038af50f1c2edf33d4880fdcc93792946d4c (patch)
treede5ffc7bd30f147095bcae65bf25eec4a9d5070f /doc/classes
parentf73ef03a86912dfe5c6eb73a99c3f50c144c5030 (diff)
Replace `TabBar`'s `min_width` with `max_tab_width` and expose it
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/TabBar.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/TabBar.xml b/doc/classes/TabBar.xml
index 6ddcc2044d..698de783c0 100644
--- a/doc/classes/TabBar.xml
+++ b/doc/classes/TabBar.xml
@@ -211,6 +211,9 @@
<member name="drag_to_rearrange_enabled" type="bool" setter="set_drag_to_rearrange_enabled" getter="get_drag_to_rearrange_enabled" default="false">
If [code]true[/code], tabs can be rearranged with mouse drag.
</member>
+ <member name="max_tab_width" type="int" setter="set_max_tab_width" getter="get_max_tab_width" default="0">
+ Sets the maximum width which all tabs should be limited to. Unlimited if set to [code]0[/code].
+ </member>
<member name="scroll_to_selected" type="bool" setter="set_scroll_to_selected" getter="get_scroll_to_selected" default="true">
If [code]true[/code], the tab offset will be changed to keep the the currently selected tab visible.
</member>