#Box shadow and corner rounding with bevy_ui

6 messages · Page 1 of 1 (latest)

smoky ginkgo
#

What is the easiest way to go about adding box shadow and border rounding to elements?

manic shadow
#

IIRC, there isn't a way to do border radius with UI actually. About box shadow, the easiest way would probably be an children below the father with the same dimensions, but a little moved toward X direction. But dont really know if you can do the blur

smoky ginkgo
#

Ye, I'm on the hunt for the blur parrt and border stuff atm, idk if I need to find another crate to integrate it

gritty field
manic shadow
smoky ginkgo
#

Hmm looks like it is farily close