add ScrollBarType
This commit is contained in:
parent
f992252c6e
commit
87d00116e1
9 changed files with 19 additions and 16 deletions
|
|
@ -30,7 +30,7 @@ ListView {
|
|||
|
||||
// snapMode: ListView.SnapToItem
|
||||
|
||||
// ScrollBar.vertical: ScrollBar {}
|
||||
ScrollBar.vertical: ScrollBarType {}
|
||||
|
||||
property bool isFocusable: true
|
||||
|
||||
|
|
|
|||
|
|
@ -81,10 +81,7 @@ DrawerType2 {
|
|||
}
|
||||
}
|
||||
|
||||
ScrollBar.vertical: ScrollBar {
|
||||
id: scrollBar
|
||||
policy: ScrollBar.AlwaysOn
|
||||
}
|
||||
ScrollBar.vertical: ScrollBarType {}
|
||||
|
||||
ButtonGroup {
|
||||
id: buttonGroup
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ ListView {
|
|||
model: ServersModel
|
||||
currentIndex: ServersModel.defaultIndex
|
||||
|
||||
ScrollBar.vertical: ScrollBar {
|
||||
ScrollBar.vertical: ScrollBarType {
|
||||
id: scrollBar
|
||||
objectName: "scrollBar"
|
||||
policy: root.height >= root.contentHeight ? ScrollBar.AlwaysOff : ScrollBar.AlwaysOn
|
||||
|
|
|
|||
|
|
@ -85,9 +85,7 @@ DrawerType2 {
|
|||
FocusController.nextKeyRightItem()
|
||||
}
|
||||
|
||||
ScrollBar.vertical: ScrollBar {
|
||||
policy: ScrollBar.AsNeeded
|
||||
}
|
||||
ScrollBar.vertical: ScrollBarType {}
|
||||
|
||||
model: 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue