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

QML Button StyleItem warning

    XMLWordPrintable

Details

    Description

      Having a QML Button present results in two prints of the following warning code in the run output:

      QML Button: (StyleItem) implicit width is smaller than minimum width!

      There does not seem to be any effect on the application itself and even a Button with no contents or properties defined causes the warning code.

       

      Issue is not present in 6.2 or 6.3

       

      Simply run the attached project, console should print out the following:

      qrc:/qt-project.org/imports/QtQuick/Controls/Windows/Button.qml:19:5: QML Button: (StyleItem) implicit width is smaller than minimum width!
      qrc:/qt-project.org/imports/QtQuick/Controls/Windows/Button.qml:19:5: QML Button: (StyleItem) implicit width is smaller than minimum width!

      Attachments

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

        Activity

          People

            ivan.solovev Ivan Solovev
            kevin.zhang Kevin Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes