diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-08-20 22:23:22 +0200 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-11-03 16:57:12 +0100 |
| commit | 4b871306e465d58844e52e799abcb1259c90ad09 (patch) | |
| tree | 1a10160377578a2b616868440b33b295e3ef9228 | |
| parent | e324e160daf409bc63e6e98cce027b93759d40fa (diff) | |
| download | monzero-gui-4b871306e465d58844e52e799abcb1259c90ad09.tar.gz monzero-gui-4b871306e465d58844e52e799abcb1259c90ad09.tar.xz monzero-gui-4b871306e465d58844e52e799abcb1259c90ad09.zip | |
fix popups positioning
| -rw-r--r-- | components/DaemonManagerDialog.qml | 2 | ||||
| -rw-r--r-- | components/HistoryTable.qml | 16 | ||||
| -rw-r--r-- | components/StandardDialog.qml | 2 | ||||
| -rw-r--r-- | main.qml | 4 |
4 files changed, 8 insertions, 16 deletions
diff --git a/components/DaemonManagerDialog.qml b/components/DaemonManagerDialog.qml index 77908b1f..009787eb 100644 --- a/components/DaemonManagerDialog.qml +++ b/components/DaemonManagerDialog.qml @@ -90,7 +90,7 @@ Window { } Text { - text: qsTr("Starting Monero daemon in %1 seconds").arg(countDown); + text: qsTr("Starting local node in %1 seconds").arg(countDown); font.pixelSize: 18 Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index 37665f15..d8024d18 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -79,14 +79,6 @@ ListView { } } - StandardDialog { - id: detailsPopup - cancelVisible: false - okVisible: true - width:850 - } - - delegate: Rectangle { id: delegate height: 144 @@ -111,10 +103,10 @@ ListView { onClicked: { var tx_key = currentWallet.getTxKey(hash) var tx_note = currentWallet.getUserNote(hash) - detailsPopup.title = "Transaction details"; - detailsPopup.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations); - detailsPopup.open(); - + informationPopup.title = "Transaction details"; + informationPopup.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations); + informationPopup.onCloseCallback = null + informationPopup.open(); } } diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index ae2b79ff..d3e14b29 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -67,7 +67,7 @@ Rectangle { function open() { // Center if(!isMobile) { - root.x = appWindow.width/2 - root.width/2 + root.x = parent.width/2 - root.width/2 root.y = screenHeight/2 - root.height/2 } show() @@ -1146,8 +1146,8 @@ ApplicationWindow { id: splash width: appWindow.width / 1.5 height: appWindow.height / 2 - x: (appWindow.width - width) / 2 + appWindow.x - y: (appWindow.height - height) / 2 + appWindow.y + x: (appWindow.width - width) / 2 + y: (appWindow.height - height) / 2 messageText: qsTr("Please wait...") } |
