[Pkg-privacy-commits] [tails-installer] 164/210: Disable scrolling when the image list is short

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.

commit 1fed93554f7652fe9c47b120fafaf6d6d5924e3b
Author: Martin Briza <mbriza at redhat.com>
Date:   Wed Sep 9 14:00:15 2015 +0200

    Disable scrolling when the image list is short
---
 liveusb/components/ImageList.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/liveusb/components/ImageList.qml b/liveusb/components/ImageList.qml
index 8781fa1..8c75d98 100644
--- a/liveusb/components/ImageList.qml
+++ b/liveusb/components/ImageList.qml
@@ -166,6 +166,8 @@ Item {
     ScrollView {
         id: fullList
         anchors.fill: parent
+        horizontalScrollBarPolicy: liveUSBData.releaseProxyModel.isFront ? Qt.ScrollBarAlwaysOff : Qt.ScrollBarAsNeeded
+        verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff
         ListView {
             id: osListView
             clip: true

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list