Text lines: allow gap between text and line to be adjusted (without affecting the free ends)

• Dec 1, 2018 - 12:54
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.0.0.4095, revision: 5859662

See attached score. MuseScore seems to add a fixed width gap between the text and the line. In 2.x the right-hand edge of the text could be made to abut the line. Is it possible to make this gap adjustable in the Inspector?

Attachment Size
text_lines.mscz 9.1 KB

Comments

Status active needs info
Priority P2 - Medium

I opened the score and didn't get the idea. What is wrong? Could add more info or scenario and attach gif or screenshots explaining what is going on please?

In 2.x, the line looks like this:

text_lines_2.x.png

But in 3.0-dev, there is a gap between the text and the line:

text_lines_3.0.png

Note: there is a bug in the alignment of the text-line in 3.0-dev which has not been fixed yet. Press left-align to correct it.

Looks like the extra 0.5sp was added during the early days of autoplace. The code is currently in TextlineBaseSegment::layout(), a variable called textlineTextDistance set explicitly to 0.5sp. I'm not sure it is actually needed, and I'd be fine with seeing it go away. Or adding a new property to control it.

Title Text lines: adjust space between text and line? Text lines: allow gap between text and line to be adjusted (without affecting the free ends)

IMV, an adjustable "Gap" would still be a useful property.