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

Problems while positioning Qt Quick Window at negative values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.0 RC
    • Quick: Controls 2
    • None
    • Linux/X11, Windows

    Description

      I cannot position the window at negative values for x and y programmatically. I need the window to be partially hidden during creation. For instance:

      import QtQuick 2.15
      import QtQuick.Window 2.15

      Window {
      visible: true
        x:-100
        y:-100
        width: 640
        height: 480
        title: qsTr("Hello World")
      }

      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
            viniciuscosta Vinícius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes