Add scroll page shortcut
This commit is contained in:
parent
c2d436942e
commit
9b7c1cb7f9
@ -69,6 +69,15 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
Shortcut {
|
||||
sequence: StandardKey.MoveToPreviousPage
|
||||
onActivated: { chat.contentY = chat.contentY - chat.height; chat.returnToBounds(); }
|
||||
}
|
||||
Shortcut {
|
||||
sequence: StandardKey.MoveToNextPage
|
||||
onActivated: { chat.contentY = chat.contentY + chat.height; chat.returnToBounds(); }
|
||||
}
|
||||
|
||||
ScrollBar.vertical: ScrollBar {
|
||||
id: scrollbar
|
||||
parent: chat.parent
|
||||
|
Loading…
Reference in New Issue
Block a user