[Pkg-privacy-commits] [tails-installer] 171/210: Fix scaling/layout issues in ImageDetails

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:42 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 355d23de4b82547b96107bdc6be134b550ec7e19
Author: Martin Briza <mbriza at redhat.com>
Date:   Fri Sep 11 11:25:22 2015 +0200

    Fix scaling/layout issues in ImageDetails
---
 liveusb/components/DownloadDialog.qml |  4 ++--
 liveusb/components/ImageDetails.qml   | 14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/liveusb/components/DownloadDialog.qml b/liveusb/components/DownloadDialog.qml
index 8fd7c4b..cf7092a 100644
--- a/liveusb/components/DownloadDialog.qml
+++ b/liveusb/components/DownloadDialog.qml
@@ -180,8 +180,8 @@ Dialog {
                         spacing: $(32)
                         IndicatedImage {
                             source: liveUSBData.currentImage.logo
-                            sourceSize.width: $(64)
-                            sourceSize.height: $(64)
+                            width: $(64)
+                            height: $(64)
                             fillMode: Image.PreserveAspectFit
                         }
                         Arrow {
diff --git a/liveusb/components/ImageDetails.qml b/liveusb/components/ImageDetails.qml
index ec2c399..4eacdaa 100644
--- a/liveusb/components/ImageDetails.qml
+++ b/liveusb/components/ImageDetails.qml
@@ -74,26 +74,25 @@ Item {
 
             ColumnLayout {
                 width: parent.width
-                spacing: $(32)
+                spacing: $(24)
                 RowLayout {
                     anchors.left: parent.left
                     anchors.right: parent.right
                     spacing: $(32)
-                    Layout.alignment: Qt.AlignLeft
                     Item {
-                        width: $(64)
-                        height: $(64)
+                        Layout.preferredWidth: $(64)
+                        Layout.preferredHeight: $(64)
                         IndicatedImage {
-                            id: iconRect
                             anchors.fill: parent
                             source: liveUSBData.currentImage.logo
                             fillMode: Image.PreserveAspectFit
                         }
                     }
                     ColumnLayout {
-                        Layout.alignment: Qt.AlignLeft
+                        Layout.fillHeight: true
                         spacing: $(8)
                         RowLayout {
+                            Layout.fillWidth: true
                             Text {
                                 Layout.fillWidth: true
                                 anchors.left: parent.left
@@ -117,7 +116,7 @@ Item {
                             height: localSelectionLayout.height
 
                             RowLayout {
-                                anchors.verticalCenter: parent.verticalCenter
+                                height: parent.height
                                 visible: liveUSBData.currentImage.arch.length
                                 spacing: $(8)
                                 ExclusiveGroup {
@@ -127,6 +126,7 @@ Item {
                                     model: liveUSBData.currentImage.arch
                                     AdwaitaRadioButton {
                                         text: modelData
+                                        Layout.alignment: Qt.AlignVCenter
                                         exclusiveGroup: archEG
                                         checked: liveUSBData.releaseProxyModel.archFilter == modelData
                                         onCheckedChanged: {

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