HPage: set shortcuts.flickTarget on init
This makes any HPage by default keyboard-scrollable, notably the new AddChat pages.
This commit is contained in:
parent
35a3ae2558
commit
f552a16d51
|
@ -79,6 +79,8 @@ SwipeView {
|
||||||
contentWidth: parent.width
|
contentWidth: parent.width
|
||||||
contentHeight: contentColumn.childrenRect.height
|
contentHeight: contentColumn.childrenRect.height
|
||||||
|
|
||||||
|
Component.onCompleted: shortcuts.flickTarget = this
|
||||||
|
|
||||||
HColumnLayout {
|
HColumnLayout {
|
||||||
id: contentColumn
|
id: contentColumn
|
||||||
width: innerFlickable.width
|
width: innerFlickable.width
|
||||||
|
|
|
@ -6,7 +6,6 @@ import "../../utils.js" as Utils
|
||||||
|
|
||||||
HPage {
|
HPage {
|
||||||
id: editAccount
|
id: editAccount
|
||||||
Component.onCompleted: shortcuts.flickTarget = flickable
|
|
||||||
|
|
||||||
property int avatarPreferredSize: 256
|
property int avatarPreferredSize: 256
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user