Skip to content

Instantly share code, notes, and snippets.

@lgvr123
Created December 13, 2022 13:10
Show Gist options
  • Select an option

  • Save lgvr123/3172978ef6475cb587a1a6257bede2a7 to your computer and use it in GitHub Desktop.

Select an option

Save lgvr123/3172978ef6475cb587a1a6257bede2a7 to your computer and use it in GitHub Desktop.
import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
import MuseScore 3.0
MuseScore {
menuPath: "Plugins.DarkModeTest.Controls15"
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