Hello forum,
I am trying to render a qml slider on top of the translucent rectangle as follows:
Qt Code:
Rectangle { id: rect width: parent.width/2; height: parent.height/5 color: "red" radius: 10 opacity: 0.1 border.color: "black" Slider { id: outerTessellationSlider activeFocusOnPress: true minimumValue: 1.0 maximumValue: 64.0 stepSize: 1.0 tickmarksEnabled: true } }To copy to clipboard, switch view to plain text mode
As you can see i have define quite a few properties for the slider, but none of them seems to be in effect. I have enabled the tick marks , but it is not visible. I have set the minimum and maximum value , but slider remains in the same size. What may be the reason behind this ?
Thanks
Bookmarks