-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Widget Opacity #3473
Comments
Merged
Can I ask what you want widget transparency for? |
Of course. A widget opacity option would allow me to create fade transitions more easily using the egui_animations crate. I use a workaround currently where I animate an overlay the size of my widget with the same color as the background color but this does not scale well. |
emilk
pushed a commit
that referenced
this issue
Feb 16, 2024
hacknus
pushed a commit
to hacknus/egui
that referenced
this issue
Oct 30, 2024
Closes <emilk#3473>.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
It seems that is currently not possible to easily set the opacity of a widget
Describe the solution you'd like
Would be nice if we can set the opacity with a set_opacity() method
Describe alternatives you've considered
Tried using colours to match background colours or use the alpha parameter in the premultiplied function but this is a bit tedious if you just want to change the opacity for a set of elements
Additional context
The text was updated successfully, but these errors were encountered: