Skip to content

Commit

Permalink
fix #310412: [MusicXML import] alignment and offset of texts in verti…
Browse files Browse the repository at this point in the history
…cal frames not preserved
  • Loading branch information
lvinken authored and vpereverzev committed Oct 5, 2020
1 parent c654867 commit 1c642ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions importexport/musicxml/importmxmlpass1.cpp
Expand Up @@ -499,7 +499,9 @@ static void addText2(VBox* vbx, Score* s, const QString strTxt, const Tid stl, c
Text* text = new Text(s, stl);
text->setXmlText(strTxt);
text->setAlign(align);
text->setPropertyFlags(Pid::ALIGN, PropertyFlags::UNSTYLED);
text->setOffset(QPointF(0.0, yoffs));
text->setPropertyFlags(Pid::OFFSET, PropertyFlags::UNSTYLED);
vbx->add(text);
}
}
Expand Down

0 comments on commit 1c642ff

Please sign in to comment.