Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QML Window maximumHeight ignored in full screen mode on Windows
Forum Updated to NodeBB v4.3 + New Features

QML Window maximumHeight ignored in full screen mode on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 80 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.
  • E Offline
    E Offline
    ECEC
    wrote last edited by
    #1

    I'm developing a full screen application that should always be displayed at 1920x1080.

    import QtQuick
    
    Window {
        id: mainWindow
        maximumHeight: 700
        visible: true
        visibility: Window.FullScreen
    
        .......
    
    }
    
    

    On macOS, this works just fine and we get letterboxing at the top of the screen such that the app's height does not exceed 1080. However, when testing on my 1920x1200 Windows machine, the maximumHeight appears to be ignored at the application fills the full size of the screen.

    Is there a way to prevent this?

    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