How to apply rounded corners to content inside a WidgetSwitcher?

This is not what I need.

I did try your method, and it didn’t work as I want it to be. It just limited the size of my child widgets and added one more background layer, which is not what I want.

I need the child widgets inside the WidgetSwitcher to be force rounded, without modifying their content. In short, is there any way for the clipping to make rounded corners?