Add tab spacing modifier for tabs in TabBar and TabContainer

This commit is contained in:
Aaron J Yoder 2025-03-05 16:55:37 -05:00
parent 394508d26d
commit 117d5cbf96
No known key found for this signature in database
GPG key ID: 3FB141E19D4018A4
6 changed files with 91 additions and 11 deletions

View file

@ -330,6 +330,9 @@
The space at the left or right edges of the tab bar, accordingly with the current [member tab_alignment].
The margin is ignored with [constant TabBar.ALIGNMENT_RIGHT] if the tabs are clipped (see [member clip_tabs]) or a popup has been set (see [method set_popup]). The margin is always ignored with [constant TabBar.ALIGNMENT_CENTER].
</theme_item>
<theme_item name="tab_separation" data_type="constant" type="int" default="0">
The space between tabs in the tab bar.
</theme_item>
<theme_item name="font" data_type="font" type="Font">
The font used to draw tab names.
</theme_item>