Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Change HTML Style in QML

$
0
0
thank you for your suggestion. this methods are available only in QWidgets and not in QML, is it right? However, I’m trying to use your code but the content of my WebView doesn’t change. this’s my code in webView loadfinished event handler  QWebElement divContainer = this->ui->webView->page()->mainFrame()->findFirstElement("div");    divContainer.setStyleProperty("height", QString::number(this->ui->webView->height()) + "px");  divContainer.setStyleProperty("width", QString::number(this->ui->webView->width()) + "px");

Viewing all articles
Browse latest Browse all 4972

Trending Articles