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

Material.roundedScale does not propagate from parent item to child buttons

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.1
    • Quick: Controls 2
    • None
    • 1bab963f8 (dev), abd787570 (6.5), aef1f8022 (6.6)

    Description

      In the following code, the Material.foreground property is applied to both buttons, but the Material.roundedScale is not.

       

      import QtQuick
      import QtQuick.Window
      import QtQuick.Controls.Material
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          Material.foreground: Material.Pink
          Material.roundedScale: Material.NotRounded
      
          Button {
              text: "hello"
              // this works here: Material.roundedScale: Material.NotRounded
          }
      
          Button {
              y: 200
              text: "hello2"
          }
      } 

      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
            rss Richard Stephens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes