[Pkg-privacy-commits] [tails-installer] 01/13: Scale only the minimum size of the window. Set its current size only on created
    Intrigeri 
    intrigeri at moszumanska.debian.org
       
    Wed May 24 15:28:05 UTC 2017
    
    
  
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.95.0
in repository tails-installer.
commit 96baaa26d81aec2ea2b22e65b35c2c6652d5f045
Author: Martin Briza <mbriza at redhat.com>
Date:   Tue Apr 26 11:11:20 2016 +0200
    Scale only the minimum size of the window. Set its current size only on created
---
 liveusb/liveusb.qml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/liveusb/liveusb.qml b/liveusb/liveusb.qml
index fa283af..55bd6be 100644
--- a/liveusb/liveusb.qml
+++ b/liveusb/liveusb.qml
@@ -11,14 +11,17 @@ ApplicationWindow {
     id: mainWindow
     minimumWidth: $(800)
     minimumHeight: $(480)
-    width: $(800)
-    height: $(480)
     title: qsTranslate("", "Fedora Media Writer")
 
     SystemPalette {
         id: palette
     }
 
+    Component.onCompleted: {
+        width = $(800)
+        height = $(480)
+    }
+
     property real scalingFactor: Math.ceil(Screen.pixelDensity * 25.4) / 96 > 1 ? Math.ceil(Screen.pixelDensity * 25.4) / 96 : 1
     function $(x) {
         return x * scalingFactor
-- 
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