Skip to content

Instantly share code, notes, and snippets.

@lgvr123
Created December 13, 2022 13:10
Show Gist options
  • Save lgvr123/905bfe133cadf0e5763c96fc1a3d0eb7 to your computer and use it in GitHub Desktop.
Save lgvr123/905bfe133cadf0e5763c96fc1a3d0eb7 to your computer and use it in GitHub Desktop.
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