MuseScore
MuseScore copied to clipboard
Disable certain properties when not needed
This PR disables the Text Offset option for text in line elements when there is no text to be offset. Additionally, the 'Gap between text and line' option is disabled when there is no text to leave a gap between.
- [x] I signed the CLA
- [x] The title of the PR describes the problem it addresses
- [x] Each commit's message describes its purpose and effects, and references the issue it resolves
- [ ] If changes are extensive, there is a sequence of easily reviewable commits
- [x] The code in the PR follows the coding rules
- [x] There are no unnecessary changes
- [x] The code compiles and runs on my machine, preferably after each commit individually
- [ ] I created a unit test or vtest to verify the changes I made (if applicable)
Tested on MacOS 14, Windows 11, Ubuntu 22.04.3. Approved
@zacjansheski You might want to re-check this briefly
Re-Tested on MacOS 14, Windows 11, Ubuntu 22.04.3. Approved