summary refs log tree commit diff
path: root/resources/qml/device-verification/Success.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-10-08 21:11:21 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-10-08 21:11:21 +0200
commit1a029112d9e6168b123f6cdf4b49319ce4ea356d (patch)
treea4797860c06eeff4db1154132a084dccc9a963d9 /resources/qml/device-verification/Success.qml
parentMerge pull request #270 from Chethan2k1/device-verification (diff)
downloadnheko-1a029112d9e6168b123f6cdf4b49319ce4ea356d.tar.xz
Lint qml with qml-format
Diffstat (limited to 'resources/qml/device-verification/Success.qml')
-rw-r--r--resources/qml/device-verification/Success.qml57
1 files changed, 32 insertions, 25 deletions
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() + } + + } + + } + }