diff --git a/app/qml/main.qml b/app/qml/main.qml index 25568f3c969bc32c6f26186b8401a84c982fbe16..430e9a333baa859f9ef01da5cee58a52aa768008 100644 --- a/app/qml/main.qml +++ b/app/qml/main.qml @@ -114,12 +114,13 @@ Window { Ui.Dialog { id: progressDialog - //icon: StandardIcon.Warning + //icon: StandardIcon.NoIcon rejectButton.text: qsTr("Cancel") rejectButton.onClicked: Qt.quit() property alias progress: progressBar.value property alias progressText: progressText.text content: ColumnLayout { + anchors.fill: parent spacing: 8 ProgressBar { id: progressBar diff --git a/app/qml/ui/Dialog.qml b/app/qml/ui/Dialog.qml index ec632bcf9af04112b0f394bf2eae439fbd7ca1ac..348716b662eefa1a8437e87d22dc2228f60b41d8 100644 --- a/app/qml/ui/Dialog.qml +++ b/app/qml/ui/Dialog.qml @@ -34,7 +34,7 @@ ColumnLayout { source: "" width: 32 height: width - visible: source ? true : false + visible: source.toString() ? true : false } ColumnLayout { Layout.fillWidth: true