Skip to content

Commit fec651a

Browse files
committed
[NOT FOR MERGING] Simulate long instrument descriptions in new score dialog and instruments dialog
1 parent 449a875 commit fec651a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/instrumentsscene/qml/MuseScore/InstrumentsScene/InstrumentsDialog.qml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ StyledDialogView {
8888

8989
StyledTextLabel {
9090
id: descriptionLabel
91-
text: instrumentsPage.description
91+
92+
// DO NOT MERGE THIS:
93+
text: "Hello world - this is an extremely long instrument description to simulate truncated labels and tooltips. This instrument has 13 strings, a hihat, a mouthpiece, and sounds terrible. Nobody should ever use this instrument. Lorem ipsum dolor etc, etc. End of text."
9294
displayTruncatedTextOnHover: true
9395

9496
Layout.fillWidth: true

src/project/qml/MuseScore/Project/NewScoreDialog.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ StyledDialogView {
120120

121121
StyledTextLabel {
122122
id: descriptionLabel
123-
text: pagesStack.currentIndex === 0
124-
? chooseInstrumentsAndTemplatePage.description
125-
: ""
123+
124+
// DO NOT MERGE THIS:
125+
text: "Hello world - this is an extremely long instrument description to simulate truncated labels and tooltips. This instrument has 13 strings, a hihat, a mouthpiece, and sounds terrible. Nobody should ever use this instrument. Lorem ipsum dolor etc, etc. End of text."
126126
displayTruncatedTextOnHover: true
127127

128128
Layout.fillWidth: true

0 commit comments

Comments
 (0)