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

When a QML Window has minimumWidth and minimumHeight set to 300 then it will not show its contents until something causes an update

    XMLWordPrintable

Details

    Description

      When a QML Window has minimumWidth and minimumHeight set to 300 then it will not show its contents until something causes an update. This works fine in Qt Quick Controls 1 ApplicationWindow and seemingly with other sizes too.

      import QtQuick 2.8
      import QtQuick.Window 2.2
      
      Window {
          minimumWidth: 300
          minimumHeight: 300
          visible: true
          Text {
              text:"This is a test"
          }
      }
      

      Attachments

        1. qtbug58963.qml
          0.2 kB
          Andy Shaw

        Issue Links

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

          Activity

            People

              wearyinside Oleg Yadrov
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes