diff options
| author | mmbyday <bromark@protonmail.com> | 2018-12-10 12:48:17 -0500 |
|---|---|---|
| committer | mmbyday <bromark@protonmail.com> | 2018-12-10 10:49:07 -0800 |
| commit | 84bf8736d7d08e904ee0351fae4b5058a9a30025 (patch) | |
| tree | aaa804273e1f32c776e99630b6d2f9c89eaa7395 /MiddlePanel.qml | |
| parent | 0f05127262cf662ab549deae426c9deebf77967e (diff) | |
| download | monzero-gui-84bf8736d7d08e904ee0351fae4b5058a9a30025.tar.gz monzero-gui-84bf8736d7d08e904ee0351fae4b5058a9a30025.tar.xz monzero-gui-84bf8736d7d08e904ee0351fae4b5058a9a30025.zip | |
MiddlePanel: add scrollbars :lipstick:
Diffstat (limited to 'MiddlePanel.qml')
| -rw-r--r-- | MiddlePanel.qml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml index 7a2dff31..183dd688 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -29,13 +29,12 @@ import QtQml 2.0 import QtQuick 2.2 -// QtQuick.Controls 2.0 isn't stable enough yet. Needs more testing. -//import QtQuick.Controls 2.0 import QtQuick.Controls 1.4 import QtQuick.Layouts 1.1 import QtGraphicalEffects 1.0 import moneroComponents.Wallet 1.0 +import "components" as MoneroComponents import "./pages" import "./pages/settings" @@ -184,12 +183,19 @@ Rectangle { onFlickingChanged: { releaseFocus(); + flickableScroll.flickableContentYChanged(); } - // Disabled scrollbars, gives crash on startup on windows -// ScrollIndicator.vertical: ScrollIndicator { } -// ScrollBar.vertical: ScrollBar { } // uncomment to test - + MoneroComponents.Scroll { + id: flickableScroll + parent: mainFlickable.parent + anchors.left: parent.right + anchors.leftMargin: 3 + anchors.top: parent.top + anchors.bottom: parent.bottom + flickable: mainFlickable + scrollWidth: 6 + } // Views container StackView { id: stackView |
