Moving icons in playbackuiactions.cpp
I'm working on the Master branch of MuseScore (4.x) and I'm trying to move the "midi-on" action from the m_settingsActions list to the m_mainActions one.
So I changed the playbackuiactions.cpp like this :
The result is that the icon disappeared instead of moving :
What am I missing please ?
The width of that tool, maybe?
BTW: you'd certainly want it before the cog wheel, not after, right?
Hmm, the order seems not to matter, Rewind is the 1st button, Play the 2nd and Stop is missing entirely
In reply to GHmm, the order seems not to… by Jojo-Schmitz
Indeed I also tried to place the MIDI button before the "play" UiAction and it still not appear.
As you already noticed in the UI, the "rewind" button is at the first place and the third place in the "m_mainActions" UiActionList. So there should be a kind of mapping for positioning them.
Size is a good tip but I can't find how to control button size. I'm quite a newbie in QT/QML but I have a graduate in C++ backend programming.
I searched for all references between actions and UI elements and I'm missing something important.
By the way, thank you for your help.