How can I get height of content in WebEngineView?



  • Hi there! I have a qml view with structure like: Column{ Rectangle, WebEngineView, another Rectangle }. It's very essential to know height of every element. I found out that I can't get true height of content inside WebEngineView. I tried both height property and runJavaScript with script "document.body.OffsetHeight". Both results always give me 275. Is there a way in Qt to get content of height in WebEngineView?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.