mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2025-02-25 03:46:00 +01:00
Account menu can now scroll
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
This commit is contained in:
parent
e94802a338
commit
7a1eae45d3
@ -174,6 +174,22 @@ Window {
|
||||
radius: Style.currentAccountButtonRadius
|
||||
}
|
||||
|
||||
contentItem: ScrollView {
|
||||
id: accMenuScrollView
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
|
||||
data: WheelHandler {
|
||||
target: accMenuScrollView.contentItem
|
||||
}
|
||||
ListView {
|
||||
implicitHeight: contentHeight
|
||||
model: accountMenu.contentModel
|
||||
interactive: true
|
||||
clip: true
|
||||
currentIndex: accountMenu.currentIndex
|
||||
}
|
||||
}
|
||||
|
||||
onClosed: {
|
||||
// HACK: reload account Instantiator immediately by restting it - could be done better I guess
|
||||
// see also onVisibleChanged above
|
||||
|
Loading…
Reference in New Issue
Block a user