Important: Please read the Qt Code of Conduct -

QWebView is not fully stylable

  • One cannot set border, margins, etc. by setting the stylesheet of a QWebView. Also if one adds a QWebView in a given dummy QWidget container and stylizes the container by setting its margins, the QWebView is not positioned correctly according to its holder object. I've replaced QWebView with QGraphicsWebView + QGraphicsView and QGraphicsScene and stylized the QGraphicsView, but the QGraphicsWebVIew is not stretched to fit the QGraphicsView's size.

Log in to reply