You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to be able to have a Rectangle shape of the spotlight
Describe the solution you'd like
Just as there is (Rounded) Square listed as one of the options for Shapes, I believe it would be great to have a rectangle as an option (this is especially valuable when highlighting code)
Describe alternatives you've considered
Well, the Square shape kind of works but you have to make it real large for it to have real impact. when the thing you are trying to highlight is actually larger in either height or width. Hence, I do believe a Rectangle would be a bit better.
The text was updated successfully, but these errors were encountered:
@mrshu Yes I guess extending the current "Square" shape with 2 additional properties would work
for example: ratio-x, ratio-y - these would be editable like the parameters for the star shape for exeample.
With that the user could then set the "screen"-ratio or rather rectangle ratio of the shape, e.g. 16:9 or 30:3 or 3:4... or 1:1 (which would be a square)
The tricky part will be the (anchor) bindings that have to change depending on if the rectangle ratio is landscape or portait.
(I would use solve this with states in the shape's qml file, while the state conditions are dynamically calculated, see also https://doc.qt.io/qt-5/qml-qtquick-anchorchanges.html)
Also renaming the "Square" shape to a "Rectangle" will break old settings, that is also something to think about.
Is your feature request related to a problem? Please describe.
I would like to be able to have a Rectangle shape of the spotlight
Describe the solution you'd like
Just as there is
(Rounded) Square
listed as one of the options for Shapes, I believe it would be great to have a rectangle as an option (this is especially valuable when highlighting code)Describe alternatives you've considered
Well, the Square shape kind of works but you have to make it real large for it to have real impact. when the thing you are trying to highlight is actually larger in either height or width. Hence, I do believe a Rectangle would be a bit better.
The text was updated successfully, but these errors were encountered: