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

Enable Material style Dense variant by other means than config file or env variable

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.5.0
    • Quick: Controls 2
    • None
    • All

    Description

      The Dense variant of the Material Style cannot be set while setting the style at compile time. By declaring import QtQuick.Controls.Material, only the mobile-oriented Normal variant is available, leaving desktop in limbo.

      It should be possible to set the variant in the same way we set the theme:
      Material.variant=Material.Dense

      If child property inheritance is too troubling, consider supporting this feature anyway with the limitation that it must be set in the root QML object.

      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
            ceperez1996 Carlos PĂ©rez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes