-
-
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
Clarify the purpose of RichTextLabel text highlight padding #79571
Clarify the purpose of RichTextLabel text highlight padding #79571
Conversation
Calinou
commented
Jul 17, 2023
- This closes RichTextLabel text padding options do not affect highlighted text #79534.
@@ -706,10 +706,10 @@ | |||
The vertical separation of elements in a table. | |||
</theme_item> | |||
<theme_item name="text_highlight_h_padding" data_type="constant" type="int" default="3"> | |||
The horizontal padding around a highlighting and background color box. | |||
The horizontal padding around boxes drawn by the [code][fgcolor][/code] and [code][bgcolor][/code] tags. This does not affect the appearance of text selection. |
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.
The horizontal padding around boxes drawn by the [code][fgcolor][/code] and [code][bgcolor][/code] tags. This does not affect the appearance of text selection. | |
The horizontal padding around boxes drawn by the [code skip-lint][fgcolor][/code] and [code skip-lint][bgcolor][/code] tags. This does not affect the appearance of text selection. |
</theme_item> | ||
<theme_item name="text_highlight_v_padding" data_type="constant" type="int" default="3"> | ||
The vertical padding around a highlighting and background color box. | ||
The vertical padding around boxes drawn by the [code][fgcolor][/code] and [code][bgcolor][/code] tags. This does not affect the appearance of text selection. |
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.
The vertical padding around boxes drawn by the [code][fgcolor][/code] and [code][bgcolor][/code] tags. This does not affect the appearance of text selection. | |
The vertical padding around boxes drawn by the [code skip-lint][fgcolor][/code] and [code skip-lint][bgcolor][/code] tags. This does not affect the appearance of text selection. |
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.
Needs some updates to make sure it passes CI, but looks good otherwise.
Note, that these updates would make it unpickable for 4.1.
Thanks! |