-
-
Notifications
You must be signed in to change notification settings - Fork 97
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 Corner Radius + size.y + pixel problems in Gradient #611
Comments
This will be solved by godotengine/godot#31655 as it allows changing GradientTexture height, but it may not be merged due to the added complexity. It seems a simpler pull request that only allows rotating the GradientTexture and changing its height has an higher chance to be merged. |
I see :) edit: why not add this feature (corner radius) to any control objects who have a corner? |
There's godotengine/godot#42855 which adds a separate class for this purpose without introducing complexity to the existing |
Describe the project you are working on:
UI items
Describe the problem or limitation you are having in your project:
I made a button using "Button" Control + TextureRect to simulate a 3D button:
I have 2 problems with this approach:
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
![image](https://user-images.githubusercontent.com/13235119/77228734-3efde000-6b81-11ea-96b8-843c5e1435b9.png)
It will be nice to set CornerRadius in Gradient to obtain this result (Inkscape):
Also: I'm forced to use scale.x instead size.y
![image](https://user-images.githubusercontent.com/13235119/77228762-766c8c80-6b81-11ea-9de2-24c58db648fd.png)
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
NA
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?:
NA
The text was updated successfully, but these errors were encountered: