aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-08-20 22:23:22 +0200
committerJaquee <jaquee.monero@gmail.com>2017-11-03 16:57:12 +0100
commit4b871306e465d58844e52e799abcb1259c90ad09 (patch)
tree1a10160377578a2b616868440b33b295e3ef9228 /components
parente324e160daf409bc63e6e98cce027b93759d40fa (diff)
downloadmonzero-gui-4b871306e465d58844e52e799abcb1259c90ad09.tar.gz
monzero-gui-4b871306e465d58844e52e799abcb1259c90ad09.tar.xz
monzero-gui-4b871306e465d58844e52e799abcb1259c90ad09.zip
fix popups positioning
Diffstat (limited to 'components')
-rw-r--r--components/DaemonManagerDialog.qml2
-rw-r--r--components/HistoryTable.qml16
-rw-r--r--components/StandardDialog.qml2
3 files changed, 6 insertions, 14 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()