[ Solved] Re-foramtting buttons

• Aug 12, 2020 - 08:51

I use "QtQuick.Controls 2.2", which import a standard layout that does not fit the Musescore UI, which is, why I would like to reformat the buttons (et alt). Therefore I need to import "QtQuick.Controls.Styles 1.4" and use the "style" attribute:

import QtQuick 2.9
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.2
import QtQuick.Controls.Styles 1.4
import MuseScore 3.0

MuseScore {
  ColumnLayout {
    Button {
      text: qsTr("Create")
      style {


This, however, throws the error:

Creating component failed
line 63: Cannot assign to non-existent property "style"

I do not understand what I am doing wrong, since all imports seems to work fine. Any ideas?

Thank you!


Do you still have an unanswered question? Please log in first to post your question.