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

Add a Skew property to StyleBoxFlat (3.x) #60592

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Apr 28, 2022

3.x version of #58599.

This makes it possible to create more aesthetically pleasing styleboxes for GUI theming, especially in games that have a futuristic appearance (where skewed buttons and progress bars are common). Skewing can be combined with borders, rounded corners and shadows.

Both horizontal and vertical skewing is allowed, which makes it easier to create vertically skewed progress bars (without having to rotate the ProgressBar node itself).

Testing project: test_stylebox_skew_3.x.zip

Preview (3.x)

image

@Calinou Calinou requested a review from a team as a code owner April 28, 2022 17:44
@Calinou Calinou added this to the 3.5 milestone Apr 28, 2022
This makes it possible to create more aesthetically pleasing
styleboxes for GUI theming, especially in games that have
a futuristic appearance (where skewed buttons and progress bars
are common).
@akien-mga akien-mga merged commit 73e6b7c into godotengine:3.x Apr 28, 2022
@akien-mga
Copy link
Member

Thanks!

@Calinou Calinou deleted the styleboxflat-add-skew-3.x branch April 28, 2022 23:49
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