From 1a029112d9e6168b123f6cdf4b49319ce4ea356d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 8 Oct 2020 21:11:21 +0200 Subject: Lint qml with qml-format --- resources/qml/device-verification/Success.qml | 57 +++++++++++++++------------ 1 file changed, 32 insertions(+), 25 deletions(-) (limited to 'resources/qml/device-verification/Success.qml') diff --git a/resources/qml/device-verification/Success.qml b/resources/qml/device-verification/Success.qml index b17b293c..175f7524 100644 --- a/resources/qml/device-verification/Success.qml +++ b/resources/qml/device-verification/Success.qml @@ -3,29 +3,36 @@ import QtQuick.Controls 2.10 import QtQuick.Layouts 1.10 Pane { - property string title: qsTr("Successful Verification") - ColumnLayout { - spacing: 16 - Label { - Layout.maximumWidth: 400 - Layout.fillHeight: true - Layout.fillWidth: true - wrapMode: Text.Wrap - id: content - text: qsTr("Verification successful! Both sides verified their devices!") - color:colors.text - verticalAlignment: Text.AlignVCenter - } - RowLayout { - Item { - Layout.fillWidth: true - } - Button { - Layout.alignment: Qt.AlignRight - text: qsTr("Close") - - onClicked: dialog.close(); - } - } - } + property string title: qsTr("Successful Verification") + + ColumnLayout { + spacing: 16 + + Label { + id: content + + Layout.maximumWidth: 400 + Layout.fillHeight: true + Layout.fillWidth: true + wrapMode: Text.Wrap + text: qsTr("Verification successful! Both sides verified their devices!") + color: colors.text + verticalAlignment: Text.AlignVCenter + } + + RowLayout { + Item { + Layout.fillWidth: true + } + + Button { + Layout.alignment: Qt.AlignRight + text: qsTr("Close") + onClicked: dialog.close() + } + + } + + } + } -- cgit 1.5.1