Show Scrollbars whenever the scroll is not obvious

This commit is contained in:
Hamza ARBI 2022-12-17 12:06:19 +01:00
parent 7345f464a5
commit 9222877306
3 changed files with 13 additions and 3 deletions

View file

@ -38,7 +38,7 @@ PageBase {
x: 20
anchors.top: caption.bottom
anchors.topMargin: 15
width: parent.width
width: parent.width - 30
anchors.bottom: parent.bottom
anchors.bottomMargin: 20
model: ServerListLogic.serverListModel
@ -49,7 +49,7 @@ PageBase {
clip: true
delegate: Item {
height: 60
width: root.width - 40
width: listWidget_servers.width - 15
MouseArea {
id: ms
anchors.fill: parent
@ -174,5 +174,9 @@ PageBase {
}
}
}
ScrollBar.vertical: ScrollBar {
policy: ScrollBar.AlwaysOn
}
}
}