/McveDarkModeQuickControls2.qml Secret
Created
December 13, 2022 13:10
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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