Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Display orientation
Forum Updated to NodeBB v4.3 + New Features

Display orientation

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 395 Views 1 Watching
  • 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.
  • SteMMoS Offline
    SteMMoS Offline
    SteMMo
    wrote on last edited by SteMMo
    #1

    Hi all,
    I'm developing on a PC with two displays: the primary display is external ed set as portrait, the secondary (the internal one) where the Qt Creator lives.
    I'm writing a QML application where is set:

    visibility: Window.FullScreen
    

    When I run it, the application starts in the external primary display, the background fills the entire primary display but the GUI elements are placed rotated, as the display was in landscape mode, but they are drawn with the portrait size. In other words: the size is correct (as portrait) but drawn as landscape (so rotated, and truncated in the portrait view).

    Any idea?
    thanks!

    1 Reply Last reply
    0
    • SteMMoS Offline
      SteMMoS Offline
      SteMMo
      wrote on last edited by
      #2

      If I comment out the visibility row the window return to the right orientation.

      How can I force the full screen?

      How can I force the full screen in my context where I have two screens, one with portrait view and the other with landscape view?

      1 Reply Last reply
      0
      • MarkkyboyM Offline
        MarkkyboyM Offline
        Markkyboy
        wrote on last edited by
        #3

        Post a working snippet of your code.

        I also use 2 monitors but both are landscape as there is no stand adjustment.

        Don't just sit there standing around, pick up a shovel and sweep up!

        I live by the sea, not in it.

        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