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 bbcode_enabled and text properties in the editor #1

Closed
daenvil opened this issue Oct 28, 2023 · 0 comments · Fixed by #6
Closed

Hide bbcode_enabled and text properties in the editor #1

daenvil opened this issue Oct 28, 2023 · 0 comments · Fixed by #6
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@daenvil
Copy link
Owner

daenvil commented Oct 28, 2023

This would make the usage clearer, and the inspector interface cleaner.

Tried this code as shown in Godot proposal #1056 but it is not working for some reason:

func _validate_property(property: Dictionary):
    if property.name in ["bbcode_enabled", "text"]:
    property.usage = PROPERTY_USAGE_NO_EDITOR
@daenvil daenvil added enhancement New feature or request help wanted Extra attention is needed labels Oct 28, 2023
@daenvil daenvil self-assigned this Dec 16, 2023
@daenvil daenvil added this to the 1.1 milestone Dec 16, 2023
@daenvil daenvil linked a pull request Dec 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant