Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Object's Shadow Changes in WebView

I've got a bit of a weird one here.

I have a chart that needs to have a white border and a black shadow. When I use these settings, it looks exactly how I want it to:

settings.png

However, when I switch into WebView, for some reason the shadow changes to white as well.

Default:

default.png

WebView:

webview.png

Any idea what's up with this? Any ideas for a fix?

3 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I think the reason is because the Web view is generally more "flat" and less "flashy" than the C++ client. In line with the modern "flat design", we typically discourage people from using thick borders and shadows - all these ornaments take user attention away from the data. I'd recommend to critically review your design guidelines and use more subtle ornaments.

Not applicable
Author

Thanks for replying. It sounds like you are suggesting shadows are currently broken in WebView? Even if my border was 1px, the shadow would still match the color of the border rather than the black I see in the C++ client, and at 0px the shadow disappears completely.

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I wouldn't say "broken". Certain elements are not implemented in Webview, by design, and I think shadow is one of them.