mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 16:28:14 +00:00
MiddlePanel: use QtQuick.Control scrollbar
This commit is contained in:
parent
03f09865e8
commit
7e95253fa2
1 changed files with 7 additions and 9 deletions
|
@ -29,6 +29,7 @@
|
|||
|
||||
import QtQml 2.0
|
||||
import QtQuick 2.2
|
||||
import QtQuick.Controls 2
|
||||
import QtQuick.Controls 1.4
|
||||
import QtQuick.Layouts 1.1
|
||||
import QtGraphicalEffects 1.0
|
||||
|
@ -181,21 +182,18 @@ Rectangle {
|
|||
Layout.fillHeight: true
|
||||
clip: true
|
||||
|
||||
onFlickingChanged: {
|
||||
releaseFocus();
|
||||
flickableScroll.flickableContentYChanged();
|
||||
}
|
||||
|
||||
MoneroComponents.Scroll {
|
||||
id: flickableScroll
|
||||
ScrollBar.vertical: ScrollBar {
|
||||
parent: mainFlickable.parent
|
||||
anchors.left: parent.right
|
||||
anchors.leftMargin: 3
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
flickable: mainFlickable
|
||||
scrollWidth: 6
|
||||
}
|
||||
|
||||
onFlickingChanged: {
|
||||
releaseFocus();
|
||||
}
|
||||
|
||||
// Views container
|
||||
StackView {
|
||||
id: stackView
|
||||
|
|
Loading…
Reference in a new issue