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

Searching editor help centers around the found text (optional) #36866

Conversation

dreamsComeTrue
Copy link
Contributor

Fortunately (or not?), editor help uses one big RichTextLabel to render items, instead of TextEdit as the Script canvas.
Thanks to that, fix is based on content height divided in half.

Fixes: #36861

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

This needs to be remade against the master branch's new RichTextLabel. Also, I think you need to update the bind_methods() section to mention the default parameter and update the class reference.

For the 3.x branch, we can use the code from this pull request (make sure to save it somewhere before updating this PR). However, in that branch, the "center" default should be false to preserve the existing behavior which projects may rely on.

@YuriSizov YuriSizov requested a review from a team August 24, 2021 22:49
@akien-mga
Copy link
Member

Closing as this is abandoned.

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.

Searching editor help should center around the found text
4 participants