Set the tightbbox for unparsed chords.

... to ensure that they get spaced correctly.
This commit is contained in:
Tony Mountifield 2013-05-13 18:17:06 +01:00
parent 4530ec9b95
commit f23dbd27ce

View file

@ -553,8 +553,10 @@ bool Harmony::isEmpty() const
void Harmony::layout()
{
if (editMode() || textList.isEmpty())
if (editMode() || textList.isEmpty()) {
Text::layout1();
setbboxtight(bbox());
}
else {
// textStyle().layout(this);
QRectF bb, tbb;