diff options
| author | thotbot <thotbot@protonmail.com> | 2019-12-21 15:02:06 +0000 |
|---|---|---|
| committer | thotbot <thotbot@protonmail.com> | 2019-12-21 18:33:36 +0000 |
| commit | ded0a4da48922805c44fc2b5a06e2fe1304221bb (patch) | |
| tree | 35430032256ab0515b9e7bcb2bd158e3275dbf55 | |
| parent | 500c7ec82e1d0d8b0f1fb45e2649a7795d4e5a22 (diff) | |
| download | monzero-gui-ded0a4da48922805c44fc2b5a06e2fe1304221bb.tar.gz monzero-gui-ded0a4da48922805c44fc2b5a06e2fe1304221bb.tar.xz monzero-gui-ded0a4da48922805c44fc2b5a06e2fe1304221bb.zip | |
Scrollbar: don't autohide if enabled (except on Mac)
| -rw-r--r-- | MiddlePanel.qml | 1 | ||||
| -rw-r--r-- | components/StandardDialog.qml | 4 | ||||
| -rw-r--r-- | pages/settings/SettingsLog.qml | 5 | ||||
| -rw-r--r-- | wizard/WizardController.qml | 1 |
4 files changed, 9 insertions, 2 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml index fd3406d2..28255c8b 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -196,6 +196,7 @@ Rectangle { anchors.topMargin: persistentSettings.customDecorations ? 60 : 10 anchors.bottom: parent.bottom anchors.bottomMargin: persistentSettings.customDecorations ? 15 : 10 + onActiveChanged: if (!active && !isMac) active = true } onFlickingChanged: { diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index 2db02abb..38f0d369 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -124,7 +124,9 @@ Rectangle { Flickable { id: flickable anchors.fill: parent - ScrollBar.vertical: ScrollBar { } + ScrollBar.vertical: ScrollBar { + onActiveChanged: if (!active && !isMac) active = true + } boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds TextArea.flickable: TextArea { diff --git a/pages/settings/SettingsLog.qml b/pages/settings/SettingsLog.qml index 05101376..0a596f6b 100644 --- a/pages/settings/SettingsLog.qml +++ b/pages/settings/SettingsLog.qml @@ -150,6 +150,7 @@ Rectangle { Flickable { id: flickable anchors.fill: parent + boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds TextArea.flickable: TextArea { id : consoleArea @@ -203,7 +204,9 @@ Rectangle { } } - ScrollBar.vertical: ScrollBar {} + ScrollBar.vertical: ScrollBar { + onActiveChanged: if (!active && !isMac) active = true + } } } diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml index d192bc8d..9b6b4a29 100644 --- a/wizard/WizardController.qml +++ b/wizard/WizardController.qml @@ -277,6 +277,7 @@ Rectangle { anchors.topMargin: persistentSettings.customDecorations ? 60 : 10 anchors.bottom: parent.bottom anchors.bottomMargin: persistentSettings.customDecorations ? 15 : 10 + onActiveChanged: if (!active && !isMac) active = true } onFlickingChanged: { |
