Skip to content

Instantly share code, notes, and snippets.

@lgvr123
Created December 13, 2022 13:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import MuseScore 3.0
MuseScore {
menuPath: "Plugins.DarkModeTest.Controls2"
description: "Test of plugins behaviour in Dark Mode"
version: "1.0"
requiresScore: false
pluginType: "dialog"
id: mainWindow
width: 500
height: 200
ColumnLayout {
anchors.fill: parent
anchors.margins: 10
spacing: 10
focus: true
Label {
text: "A very long label. I'd be upset if I'd be truncated"
}
CheckBox {
text: "A very long checkbox. I'd be mad if I'd be truncated"
}
Button {
text: "Close"
onClicked: mainWindow.parent.Window.window.close();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment