Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Propagation of Material style properties in Qt 6.5
Forum Updated to NodeBB v4.3 + New Features

Propagation of Material style properties in Qt 6.5

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 183 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bee65
    wrote on last edited by
    #1

    I'm porting my code from Qt 6.4 to Qt 6.5 and I'm having trouble with the new Material control style.

    In the following code, can someone explain why the foreground property is applied to both buttons, but the roundedScale is not. Is it a bug?

    import QtQuick
    import QtQuick.Window
    import QtQuick.Controls.Material
    import QtQuick.Layouts
    
    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"
        }
    }
    
    1 Reply Last reply
    0
    • B Offline
      B Offline
      bee65
      wrote on last edited by
      #2

      I created a bug report
      https://bugreports.qt.io/browse/QTBUG-115287

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved