Show Scrollbars whenever the scroll is not obvious
This commit is contained in:
parent
7345f464a5
commit
9222877306
3 changed files with 13 additions and 3 deletions
|
@ -29,7 +29,7 @@ PageBase {
|
|||
anchors.left: root.left
|
||||
anchors.leftMargin: 30
|
||||
anchors.right: root.right
|
||||
anchors.rightMargin: 30
|
||||
anchors.rightMargin: 15
|
||||
|
||||
contentHeight: content.height
|
||||
clip: true
|
||||
|
@ -40,6 +40,7 @@ PageBase {
|
|||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 15
|
||||
|
||||
CheckBoxType {
|
||||
visible: !GC.isMobile()
|
||||
|
@ -161,6 +162,10 @@ PageBase {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
ScrollBar.vertical: ScrollBar {
|
||||
policy: fl.height > content.height? ScrollBar.AlwaysOff : ScrollBar.AlwaysOn
|
||||
}
|
||||
}
|
||||
|
||||
Logo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue