Alignment of multiple selected objects

• Mar 5, 2015 - 10:51
Type
Graphical (UI)
Severity
S5 - Suggestion
Status
active
Project

Hello, I would love to have the ability to align multiple selected elements, for example dynamics.

User would select multiple elements (presumably only slightly vertically/horizontally misaligned) and click a button (vertical or horizontal align) in the inspector. The elements would then be aligned on the baseline of the first selected element (assuming selection numbering is possible).

Another button would align the elements relative to their distance from the staff.

I will start working on this as soon as possible.


Comments

Have you checked MuseScore 2.0 Beta 2 or a more recent nightly build?
There, in a combination of Inspector( to adjust the settings) and 'Select al similar in range' this should work already, so I guess you could mark this issue fixed ;-)

That works if they are already aligned to start with. Otherwise, you'd first need to hit the Reset button to start them at the same place. But indeed, the Inspector definitely provides a way of doing this. And it won't work if the elements are of different types that wouldn't naturally have been aligned in the first place. From IRC discussions, I think the intent here is to provide a more automatic and reliable method. My sense is, it would not be a lot of code to handle the easy cases at least.

assuming selection numbering is possible
It could be possible, currently in the code a selection is a list.But AFAIK, the list is always considered unsorted.