[Pkg-privacy-commits] [tails-installer] 18/30: Make the scaled borders on ImageList just 1px

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:27:09 UTC 2017


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

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

commit 3ef32fbc3fef245a5395ac225995f3e4c9adde8f
Author: Martin Bříza <m at rtinbriza.cz>
Date:   Tue Apr 5 16:08:46 2016 +0200

    Make the scaled borders on ImageList just 1px
    
    Looked pretty stupid on 1.5x scaling
---
 liveusb/components/DelegateImage.qml | 10 +++++-----
 liveusb/components/ImageList.qml     |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/liveusb/components/DelegateImage.qml b/liveusb/components/DelegateImage.qml
index a734d8d..8026a68 100644
--- a/liveusb/components/DelegateImage.qml
+++ b/liveusb/components/DelegateImage.qml
@@ -16,16 +16,16 @@ Item {
     readonly property color color: mouse.containsPress ? "#ededed" : mouse.containsMouse ? "#f8f8f8" : "white"
 
     Rectangle {
-        width: parent.width - $(2)
+        width: parent.width - 2
         //height: index == 0 ? parent.height - $(1) : parent.height
         height: parent.height + 1
-        x: $(1)
+        x: 1
         //y: index == 0 ? $(1) : 0
         //radius: $(4)
         color: root.color
         border {
             color: "#c3c3c3"
-            width: 1
+            width: $1
         }
         Item {
             id: iconRect
@@ -105,7 +105,7 @@ Item {
                 color: root.color
                 border {
                     color: "#c3c3c3"
-                    width: $(1)
+                    width: 1
                 }
                 anchors {
                     left: parent.left
@@ -131,7 +131,7 @@ Item {
                 color: root.color
                 border {
                     color: "#c3c3c3"
-                    width: $(1)
+                    width: 1
                 }
                 anchors {
                     left: parent.left
diff --git a/liveusb/components/ImageList.qml b/liveusb/components/ImageList.qml
index a0ff54b..966b800 100644
--- a/liveusb/components/ImageList.qml
+++ b/liveusb/components/ImageList.qml
@@ -20,7 +20,7 @@ Item {
         id: searchBox
         border {
             color: searchInput.activeFocus ? "#4a90d9" : "#c3c3c3"
-            width: $(1)
+            width: 1
         }
         radius: $(6)
         color: "white"
@@ -208,8 +208,8 @@ Item {
                     clip: true
                     visible: liveUSBData.releaseProxyModel.isFront
                     anchors.fill: parent
-                    anchors.margins: $(1)
-                    radius: 3
+                    anchors.margins: 1
+                    radius: $(3)
                     color: palette.window
                     Rectangle {
                         anchors.fill: parent
@@ -218,7 +218,7 @@ Item {
                         radius: $(5)
                         border {
                             color: "#c3c3c3"
-                            width: $(1)
+                            width: 1
                         }
                     }
 

-- 
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