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

Fix Label autowrap clips text #20228

Merged
merged 1 commit into from
Jul 18, 2018
Merged

Conversation

volzhs
Copy link
Contributor

@volzhs volzhs commented Jul 17, 2018

This PR prevent to clip text when using only Autowrap
screenshot_20180718_021839
but it shows over than its size when can't wrap.

if really want, Clip text can be used together.
screenshot_20180718_021854

Fix #20226

@volzhs volzhs added this to the 3.1 milestone Jul 17, 2018
@volzhs
Copy link
Contributor Author

volzhs commented Jul 17, 2018

we have Rect > Clip Content for all Control nodes now.
so, Label.clip_text is actually not needed anymore.
but it breaks compatibility so... maybe later...

@akien-mga
Copy link
Member

Now that Godot 3.1 has been released, we only plan to cherry-pick critical bug fixes to the 3.0 branch, unless there is very strong support in favor of a specific non-critical issue. Removing cherrypick label for 3.0.

@AaronRecord
Copy link
Contributor

clip_content doesn't seem to currently work for buttons or labels.

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.

Label get cut when using Autowrap or Clip text
3 participants