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 height of subresource button in Inspector #75379

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

timothyqiu
Copy link
Member

The subresource button has incorrect height when the editor uses a large font size.

This is because the button itself does not have text or icon assigned (they are implemented as another layer on top of that button). Font height is not added to the button's minimum size when the text is empty.

Before After
before after

@YuriSizov YuriSizov merged commit da503a6 into godotengine:master Mar 27, 2023
@YuriSizov
Copy link
Contributor

Thanks!

@timothyqiu timothyqiu deleted the boundary-break branch March 27, 2023 09:20
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.0.2.

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.

2 participants