Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-136936

Can not drag when Qt.NoTitleBarBackgroundHint is set

    XMLWordPrintable

Details

    • macOS
    • macOS

    Description

      When Qt.ExpandedClientAreaHint and  Qt.NoTitleBarBackgroundHint is set it blends client area to titleBar very nicely with native min/max/close button. But you can not drag the window from the area of titlebar Since native buttons are there it is intuitive that it will also drag

      import QtQuick 2.15
      import QtQuick.Window 2.15
      
      Window {
      id: mainWindow
      visible: true
      width: 900
      height: 600
      color: "lightblue"
      flags: Qt.ExpandedClientAreaHint | Qt.NoTitleBarBackgroundHint
      } 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes