MuseScore
MuseScore copied to clipboard
[MU4 Issue] Frame Corner Radius range limited via Properties Panel
Describe the bug When adjusting the corner radius for a text element frame via the Properties > More... popout the setting is clipped to the range [0-5]. The same setting via Format > Style > Text Styles is allowed (and functional!) in the range [0-100]
To Reproduce Steps to reproduce the behavior:
- Set a Rectangle Frame on any text element in the score
- Properties Panel > More... and click on the rectangle frame
- Attempt to set a value for the radius in the range ]5, 100], either using the arrow spin buttons or by directly typing a value into the field
- The value gets clipped to 5
Expected behavior The Properties Panel should respect the same [0-100] range as the Style setting does
Additional nitpick The style panel works with values accurate to the unit. The Properties Panel seems to allow for accuracy up to a tenth. Best to streamline those identical as well.
Happy to take this one on - should (hopefully!) be a simple qml fix. In relation to the nitpick - completely agree but I am unsure whether this is possible as the step defines both the limitation for specificity in the input and the step size of the increase/decrease buttons.
In relation to the nitpick - completely agree but I am unsure whether this is possible as the step defines both the limitation for specificity in the input and the step size of the increase/decrease buttons.
I think this is not entirely true... the maximum number of decimals for input is defined by the decimals
property; the step
property should not affect this (it should only influence the increase/decrease buttons).
So I think it is fine to leave decimals
at its default (which is 2) and set step
to 1.
So I think it is fine to leave decimals at its default (which is 2) and set step to 1.
Had a look and it seems as though adding those properties fixed the nitpick as well (thankyou @cbjeukendrup) PR updated and should be good to merge pending GitHub actions CI tests.