Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
yogeshwarp
Posts: 30
Registered: ‎11-09-2012
My Carrier: Airtel
Accepted Solution

userStyleSheetLocation usage in WebView from QML

From QML can one set the override CSS to webview using syntax like

 

settings.userStyleSheetLocation : "local:///assets/css/theme.css" ?

 

I am not gettting any error but do not see any changes reflected on the webview as well

Please use plain text.
Developer
yogeshwarp
Posts: 30
Registered: ‎11-09-2012
My Carrier: Airtel

Re: userStyleSheetLocation usage in WebView from QML

Got a solution following syntax works
settings.userStyleSheetLocation : "css/theme.css"

so local relative path is working fine
Please use plain text.