From daf34053a8ad044cac69b77f31f4e287adfa5be8 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 9 Jul 2015 10:15:28 -0700 Subject: [PATCH] Tweak button positions --- interface/resources/qml/UpdateDialog.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/interface/resources/qml/UpdateDialog.qml b/interface/resources/qml/UpdateDialog.qml index b166bdfebb..8baf41cd75 100644 --- a/interface/resources/qml/UpdateDialog.qml +++ b/interface/resources/qml/UpdateDialog.qml @@ -44,7 +44,7 @@ DialogContainer { color: "#ffffff" width: updateDialog.contentWidth + updateDialog.borderWidth * 2 - height: mainContent.height + updateDialog.borderWidth * 2 + height: mainContent.height + updateDialog.borderWidth * 2 - updateDialog.closeMargin / 2 MouseArea { width: parent.width @@ -80,7 +80,8 @@ DialogContainer { spacing: updateDialog.inputSpacing anchors { horizontalCenter: parent.horizontalCenter - verticalCenter: parent.verticalCenter + topMargin: updateDialog.borderWidth + top: parent.top } Rectangle { @@ -148,11 +149,13 @@ DialogContainer { Row { anchors.right: parent.right spacing: updateDialog.inputSpacing + height: updateDialog.buttonHeight + updateDialog.closeMargin / 2 Rectangle { id: cancelButton width: updateDialog.buttonWidth height: updateDialog.buttonHeight + anchors.bottom: parent.bottom Text { text: "Cancel" @@ -180,6 +183,7 @@ DialogContainer { id: updateButton width: updateDialog.buttonWidth height: updateDialog.buttonHeight + anchors.bottom: parent.bottom Text { text: "Update"