Qt 6.11 is out! See what's new in the release
blog
QML round edges in scrollbar
-
Re: Scrollbar handle with rounded edges?
Hello @ll
i have a similar problem to the one in the link above just in qml and not css/stylsheets.
In qml I have angular edges when using a scrollbar.
Has anybody any Idea how i cant get the edges round?Greetings
-
Re: Scrollbar handle with rounded edges?
Hello @ll
i have a similar problem to the one in the link above just in qml and not css/stylsheets.
In qml I have angular edges when using a scrollbar.
Has anybody any Idea how i cant get the edges round?Greetings
@NewPony add something like the following to your qml code
ScrollBar.vertical: ScrollBar { id: scrollBar anchors.right: parent.right // Gutter/Trough background: Rectangle { id: gutter color: } // Scroll Thumb contentItem: Rectangle { id: thumb radius: width / 2 color: } } -
@NewPony add something like the following to your qml code
ScrollBar.vertical: ScrollBar { id: scrollBar anchors.right: parent.right // Gutter/Trough background: Rectangle { id: gutter color: } // Scroll Thumb contentItem: Rectangle { id: thumb radius: width / 2 color: } } -
N NewPony has marked this topic as solved on