-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Container shadows are inconsistent between wgpu
and tiny-skia
with custom theme
#2339
Comments
tiny-skia
and custom themewgpu
and tiny-skia
with custom theme
Hi, I have the same Issue, but wanted to add, that for buttons shadows work fine also with the tiny-skia backend: What do you mean by "can work around it by using Color::TRANSPARENT."? Using Color::TRANSPARENT for the shadow effectively means no visible shadow. So the workaround for the tiny-skia backend is not using shadows at all? |
My use case is without any shadows, but yeah, that doesn't help if you actually want them 😅 |
Is there an existing issue for this?
Is this issue related to iced?
What happened?
I have a custom theme where the
Container
appearance includes:With
wgpu
, there is no visible shadow. Withtiny-skia
, black fills whole container.I can work around it by using
Color::TRANSPARENT
.Gist (using red shadow for illustration purposes): https://gist.github.com/mtkennerly/993c3fbdd7ea770c0c28d268cf063664
ICED_BACKEND=wgpu cargo run
ICED_BACKEND=tiny-skia cargo run
What is the expected behavior?
The
wgpu
andtiny-skia
examples should look the same.Version
crates.io release
Operating System
Windows
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: