Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Can I set custom client screen size independently from WebEngineView size?
QtWS25 Last Chance

Can I set custom client screen size independently from WebEngineView size?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 249 Views
  • 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.
  • A Offline
    A Offline
    arakan94
    wrote on last edited by
    #1

    I want to render website as if on big screen and then only show part of it (using JS to scroll).

    My use case is:

    • set webpage size to X
    • set WebEngineView size to Y. Where Y < X
    • Only Y would be shown in Window, but website would think it's on screen with size X
    • I would call JS scrollTo() to get to desired region of website

    Thanks for any advice.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved