Skip to content
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

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Jul 17, 2023

@Calinou Calinou requested a review from a team as a code owner July 17, 2023 06:54
@Calinou Calinou added enhancement documentation cherrypick:4.0 cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release labels Jul 17, 2023
@Calinou Calinou added this to the 4.2 milestone Jul 17, 2023
@@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Contributor

@YuriSizov YuriSizov left a 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.

@YuriSizov YuriSizov removed cherrypick:4.0 cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release labels Oct 30, 2023
@akien-mga akien-mga merged commit fa54bc3 into godotengine:master Oct 30, 2023
@akien-mga
Copy link
Member

Thanks!

@Calinou Calinou deleted the doc-richtextlabel-padding branch October 31, 2023 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RichTextLabel text padding options do not affect highlighted text
3 participants