Skip to content

Rename RichTextLabel's percent_visible to something else #4978

@TrickyWidget

Description

@TrickyWidget

Describe the project you are working on

Anything that uses a node with that property

Describe the problem or limitation you are having in your project

The "percent_visible" property on various nodes is confusingly named. A percentage is a value between 0 and 100. But the percent_visible property takes a value that is between 0 and 1. I suggest renaming the property to reflect its actual function.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

I suggest renaming the property to reflect its actual function.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

"Label.portion_visible = 0.7" or some such thing.

If this enhancement will not be used often, can it be worked around with a few lines of script?

NA

Is there a reason why this should be core and not an add-on in the asset library?

The property exists in the core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaks compatProposal will inevitably break compatibilitytopic:gui

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions