-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Label] Add support for tab stops. #76129
Conversation
That's an old issue! Wow, 2016. |
@@ -69,6 +69,9 @@ | |||
<member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]"> | |||
Set additional options for BiDi override. | |||
</member> | |||
<member name="tab_stops" type="PackedFloat32Array" setter="set_tab_stops" getter="get_tab_stops" default="PackedFloat32Array()"> | |||
Aligns text to the given tab-stops. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could an example be shown using a codeblock? How many values should I add to the array in general?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, but is this a configurable feature in RichTextLabel too? |
I was sure it is, but apparently it's not, RTL is using hard-coded tab size, I will do RTL PR as well. |
Needs rebase. |
Thanks! |
Fixes #4327