From 8d1b78173df3922cce025a97d9c3c768dbcf1b1a Mon Sep 17 00:00:00 2001
From: Akira Ohgaki <akiraohgaki@gmail.com>
Date: Sat, 10 Dec 2016 21:39:20 +0900
Subject: [PATCH] Fix for dialog default size

---
 src/app/qml/main.qml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/app/qml/main.qml b/src/app/qml/main.qml
index 11b3165..01c4e8f 100644
--- a/src/app/qml/main.qml
+++ b/src/app/qml/main.qml
@@ -56,6 +56,10 @@ Window {
     Dialog {
         id: progressDialog
         title: root.title
+        property alias primaryLabel: primaryLabel
+        property alias informativeLabel: informativeLabel
+        property alias progressBar: progressBar
+        property alias progressLabel: progressLabel
         contentItem: Item {
             implicitWidth: 400
             implicitHeight: 150
@@ -65,12 +69,12 @@ Window {
                 spacing: 8
                 Label {
                     id: primaryLabel
-                    text: ""
+                    text: " "
                     font.bold: true
                 }
                 Label {
                     id: informativeLabel
-                    text: ""
+                    text: " "
                 }
                 ProgressBar {
                     id: progressBar
@@ -82,7 +86,7 @@ Window {
                 }
                 Label {
                     id: progressLabel
-                    text: ""
+                    text: " "
                     anchors.right: parent.right
                 }
                 Button {
@@ -93,10 +97,6 @@ Window {
                 }
             }
         }
-        property alias primaryLabel: primaryLabel
-        property alias informativeLabel: informativeLabel
-        property alias progressBar: progressBar
-        property alias progressLabel: progressLabel
     }
 
     Component.onCompleted: {
-- 
GitLab