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

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

XMLWordPrintable

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

      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"
          }
      } 

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            rss Richard Stephens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes