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

Hide text of RichTextLabel if BBCode is enabled #67255

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Oct 11, 2022

On master, text and bbcode_text are merged into 1 property. But in 3.x there is a rather big usability problem where you enable bbcode and then set text, only to discover that you put your text in a wrong property. When bbcode is enabled, bbcode_text gets mirrored into text property, so anything you put into text gets erased.

This PR hides text property when BBCode is enabled.
ezgif com-gif-maker
It's only hidden in the inspector, everything else works as before, so it's 100% compatible change.

@KoBeWi KoBeWi added enhancement usability topic:gui cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release labels Oct 11, 2022
@KoBeWi KoBeWi added this to the 3.x milestone Oct 11, 2022
@KoBeWi KoBeWi requested a review from a team as a code owner October 11, 2022 13:30
@akien-mga akien-mga modified the milestones: 3.x, 3.6 Oct 11, 2022
@akien-mga akien-mga merged commit f52f797 into godotengine:3.x Oct 31, 2022
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the remove_text_from_RichTextLabel branch October 31, 2022 11:30
@timothyqiu
Copy link
Member

Cherry-picked for 3.5.2

@timothyqiu timothyqiu removed the cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release label Dec 5, 2022
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.

4 participants