From 01e735cc0e56c1e68bea3618fbc0cccc7bf88a29 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Fri, 3 Mar 2017 11:44:13 +0100 Subject: [PATCH] move OK button to the right in confirm exit dialog --- components/StandardDialog.qml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index 3546de24..42760f5c 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -101,6 +101,21 @@ Window { spacing: 60 Layout.alignment: Qt.AlignHCenter + MoneroComponents.StandardButton { + id: cancelButton + width: 120 + fontSize: 14 + shadowReleasedColor: "#FF4304" + shadowPressedColor: "#B32D00" + releasedColor: "#FF6C3C" + pressedColor: "#FF4304" + text: qsTr("Cancel") + onClicked: { + root.close() + root.rejected() + } + } + MoneroComponents.StandardButton { id: okButton width: 120 @@ -117,21 +132,6 @@ Window { } } - - MoneroComponents.StandardButton { - id: cancelButton - width: 120 - fontSize: 14 - shadowReleasedColor: "#FF4304" - shadowPressedColor: "#B32D00" - releasedColor: "#FF6C3C" - pressedColor: "#FF4304" - text: qsTr("Cancel") - onClicked: { - root.close() - root.rejected() - } - } } }