Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How can I get height of content in WebEngineView?

    QtWebEngine
    webengine qml qt5.6
    1
    1
    693
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rapeity last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post